test
This commit is contained in:
parent
f8db427cf4
commit
da64fd9307
|
@ -136,7 +136,8 @@ class RecruitmentsController < PseudoSessionController
|
|||
def check_session
|
||||
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 = session[:current_pseudo_user_id].present? && !session[:current_pseudo_user_id].nil? ? true : false
|
||||
|
||||
if !OrbitHelper.current_user.nil?
|
||||
available = OrbitHelper.current_user.is_admin?
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue