Skip to content

Commit

Permalink
I'm dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- committed Mar 18, 2019
1 parent c98b758 commit 6a84586
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/layouts/application.html.erb
Expand Up @@ -84,7 +84,7 @@
<% end %>
<% if current_user&.has_role?(:core) %>
<% nav_dropdown DashboardController, action: 'new_dash', label: 'core' do %>
<%= nav_dropdown DashboardController, action: 'new_dash', label: 'core' do %>
<% unless current_user&.has_role?(:admin) %>
<%= nav_link AdminController, label: 'User Data & Roles', action: :users %>
<li role="separator" class="divider"></li>
Expand Down Expand Up @@ -113,21 +113,21 @@
<% end %>
<% if current_user&.has_role?(:admin) %>
<% nav_dropdown AdminController, label: 'admin' do %>
<%= nav_dropdown AdminController, label: 'admin' do %>
<%= nav_link AdminController, label: 'User Data & Roles', action: :users %>
<%= nav_link APIKeysController, label: 'API Keys' %>
<%= nav_link SiteSettingsController, label: 'Website Configuration' %>
<% end %>
<% end %>
<% if current_user&.has_role?(:developer) %>
<% nav_dropdown DashboardController, action: 'new_dash', label: 'dev' do %>
<%= nav_dropdown DashboardController, action: 'new_dash', label: 'dev' do %>
<%= nav_link DumpsController, label: 'Database Dumps', action: :index %>
<%= nav_link DeveloperController, label: 'Production log', action: :production_log %>
<%= nav_link RedisLogController, label: 'Request log', action: :index %>
<% end %>
<% end %>
<%= nav_link StatusController, attrs: {
class: ['status', "status-#{SmokeDetector.status_color}"],
data: {
Expand Down

0 comments on commit 6a84586

Please sign in to comment.