User app fixes for cors and data origin
This commit is contained in:
@@ -49,7 +49,10 @@ App.ApplicationRoute = Ember.Route.extend
|
||||
else
|
||||
message = t('errors.404.general.message')
|
||||
@transitionTo('index').then (route)->
|
||||
route.get('controller.controllers.application').set 'notice', message
|
||||
route.get('controller.controllers.application').set 'notice', message if route and route.get
|
||||
$log
|
||||
action: 'applicationerror'
|
||||
error: error.message
|
||||
|
||||
scanQr: ->
|
||||
<% if Rails.env.user_app? %>
|
||||
|
||||
Reference in New Issue
Block a user