Code cleanup.
This commit is contained in:
parent
af1aa0874d
commit
f5beac8e08
|
@ -2,7 +2,7 @@ class App.OrganizationProfile extends App.Controller
|
||||||
constructor: (params) ->
|
constructor: (params) ->
|
||||||
super
|
super
|
||||||
|
|
||||||
@authenticateCheckRedirect(true)
|
@authenticateCheckRedirect()
|
||||||
|
|
||||||
# fetch new data if needed
|
# fetch new data if needed
|
||||||
App.Organization.full(@organization_id, @render)
|
App.Organization.full(@organization_id, @render)
|
||||||
|
|
|
@ -14,7 +14,7 @@ class App.Search extends App.Controller
|
||||||
super
|
super
|
||||||
|
|
||||||
# check authentication
|
# check authentication
|
||||||
@authenticateCheckRedirect(true)
|
@authenticateCheckRedirect()
|
||||||
|
|
||||||
current = App.TaskManager.get(@task_key).state
|
current = App.TaskManager.get(@task_key).state
|
||||||
if current && current.query
|
if current && current.query
|
||||||
|
|
|
@ -14,7 +14,7 @@ class App.TicketZoom extends App.Controller
|
||||||
super
|
super
|
||||||
|
|
||||||
# check authentication
|
# check authentication
|
||||||
@authenticateCheckRedirect(true)
|
@authenticateCheckRedirect()
|
||||||
|
|
||||||
@formMeta = undefined
|
@formMeta = undefined
|
||||||
@ticket_id = params.ticket_id
|
@ticket_id = params.ticket_id
|
||||||
|
|
|
@ -3,7 +3,7 @@ class App.UserProfile extends App.Controller
|
||||||
super
|
super
|
||||||
|
|
||||||
# check authentication
|
# check authentication
|
||||||
@authenticateCheckRedirect(true)
|
@authenticateCheckRedirect()
|
||||||
|
|
||||||
# fetch new data if needed
|
# fetch new data if needed
|
||||||
App.User.full(@user_id, @render)
|
App.User.full(@user_id, @render)
|
||||||
|
|
Loading…
Reference in a new issue