parent
894f3c4dd1
commit
c1a46b863c
1 changed files with 2 additions and 5 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue