This commit is contained in:
Martin Edenhofer 2016-08-31 22:34:48 +02:00
parent 63244c6c18
commit ffac7a7489

View file

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