diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index c15ede2a..7c0eb47c 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -28,7 +28,7 @@ My StaffPlan <%= header_link_to "Clients", clients_path %> Projects - <% if current_user.owner?(company: current_company) || current_user.owner?(company: current_company) %> + <% if current_user.owner?(company: current_company) || current_user.admin?(company: current_company) %> <%= header_link_to "Settings", settings_path %> <% end %> @@ -99,7 +99,7 @@ My StaffPlan <%= mobile_header_link_to "Clients", clients_path %> Projects - <% if current_user.owner?(company: current_company) || current_user.owner?(company: current_company) %> + <% if current_user.owner?(company: current_company) || current_user.admin?(company: current_company) %> <%= mobile_header_link_to "Settings", settings_path %> <% end %>