locale fix
This commit is contained in:
@@ -45,9 +45,9 @@ App.ApplicationRoute = Ember.Route.extend
|
||||
message = null
|
||||
if error.status is 404
|
||||
if klass.routeName is 'table'
|
||||
message = t('errors.404.model.message', model: t("models.#{klass.routeName}"), id: transition.state.params.table.table_id)
|
||||
message = t('errors.status404.model.message', model: t("models.#{klass.routeName}"), id: transition.state.params.table.table_id)
|
||||
else
|
||||
message = t('errors.404.general.message')
|
||||
message = t('errors.status404.general.message')
|
||||
@transitionTo('index').then (route)->
|
||||
route.get('controller.controllers.application').set 'notice', message
|
||||
|
||||
|
||||
Reference in New Issue
Block a user