Revert "Test 1."

This reverts commit 2072ac7c9b.
This commit is contained in:
Martin Edenhofer 2016-08-31 16:39:56 +02:00
parent 894f3c4dd1
commit c1a46b863c

View file

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