Added new nav entry for jobs#index

This commit is contained in:
2024-09-14 01:21:00 +02:00
parent 5ee276e2eb
commit 4db1c7667e
2 changed files with 10 additions and 1 deletions

View File

@@ -30,6 +30,10 @@ module ApplicationHelper
controller_name=="profiles"
end
def root_tab?
controller_name=="jobs"
end
def is_admin_or_operator?
current_user.admin? || current_user.operator?
end