Test 4.
This commit is contained in:
parent
ad19a2e5e5
commit
63244c6c18
1 changed files with 4 additions and 6 deletions
|
@ -640,23 +640,21 @@ class App.Controller extends Spine.Controller
|
|||
|
||||
class App.ControllerPermanent extends App.Controller
|
||||
constructor: ->
|
||||
super
|
||||
|
||||
# check authentication
|
||||
if @requiredPermission
|
||||
@permissionCheckRedirect(@requiredPermission, true)
|
||||
|
||||
super
|
||||
|
||||
$('.content').addClass('hide')
|
||||
@navShow()
|
||||
|
||||
class App.ControllerContent extends App.Controller
|
||||
constructor: ->
|
||||
super
|
||||
|
||||
# check authentication
|
||||
if @requiredPermission
|
||||
@permissionCheckRedirect(@requiredPermission)
|
||||
|
||||
super
|
||||
|
||||
$('.content').addClass('hide')
|
||||
$('#content').removeClass('hide')
|
||||
@navShow()
|
||||
|
|
Loading…
Reference in a new issue