This commit is contained in:
Martin Edenhofer 2016-08-31 20:12:34 +02:00
parent 23f7fb2b1d
commit ad19a2e5e5

View file

@ -93,13 +93,16 @@ class App.Dashboard extends App.Controller
@$(".tab-content.#{target}").removeClass('hidden')
class DashboardRouter extends App.ControllerPermanent
requiredPermission: ['*']
#requiredPermission: ['*']
constructor: (params) ->
super
# check authentication
@authenticateCheckRedirect()
#@authenticateCheckRedirect()
if !@authenticateCheck()
@navigate '#login'
return
App.TaskManager.execute(
key: 'Dashboard'