Many Changes: Rename privacy_policy, fixed seed.rb, fixed status in migration file, created new job for operator
This commit is contained in:
@@ -29,8 +29,12 @@ module ApplicationHelper
|
||||
def profile_tab?
|
||||
controller_name=="profiles"
|
||||
end
|
||||
|
||||
|
||||
def is_admin_or_operator?
|
||||
current_user.admin? || current_user.operator?
|
||||
end
|
||||
|
||||
def edit_form?
|
||||
action_name != "new" && action_name != "create"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user