iid
This commit is contained in:
parent
0e2d117471
commit
bb098ece10
|
@ -137,7 +137,7 @@ class RecruitmentsController < PseudoSessionController
|
|||
page = Page.where(:module => "pseudo_member").first
|
||||
session = OrbitHelper.request.session
|
||||
available = session[:current_pseudo_user_id].present? && !session[:current_pseudo_user_id].nil? ? "true" : "false"
|
||||
available = (OrbitHelper.current_user.is_admin? rescue false)
|
||||
available = (OrbitHelper.current_user.is_admin? rescue available)
|
||||
{
|
||||
"session" => available,
|
||||
"url" => "/" + I18n.locale.to_s + page.url,
|
||||
|
|
Loading…
Reference in New Issue