Many Changes: Rename privacy_policy, fixed seed.rb, fixed status in migration file, created new job for operator

This commit is contained in:
2024-09-09 14:35:07 +02:00
parent cf8cc196a3
commit c195cd3b22
11 changed files with 59 additions and 44 deletions

View File

@@ -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