Test 3.
This commit is contained in:
parent
23f7fb2b1d
commit
ad19a2e5e5
1 changed files with 5 additions and 2 deletions
|
@ -93,13 +93,16 @@ 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'
|
||||||
|
|
Loading…
Reference in a new issue