Skip to content

Commit 2d95b7b

Browse files
committed
add a link to "/solid-queue" in your navigation bar
1 parent 3483b91 commit 2d95b7b

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

app/views/layouts/application.html.erb

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,16 @@
3939

4040
<!-- Navigation Links -->
4141
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
42-
<%= link_to "Trained Messages", trained_messages_path,
43-
class: "#{current_page?(trained_messages_path) ? 'border-indigo-500 text-gray-900' : 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700'} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" %>
44-
45-
<%= link_to "Group Classifiers", group_classifier_states_path,
46-
class: "#{current_page?(group_classifier_states_path) ? 'border-indigo-500 text-gray-900' : 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700'} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" %>
47-
48-
<%= link_to "Banned Users", banned_users_path,
49-
class: "#{current_page?(banned_users_path) ? 'border-indigo-500 text-gray-900' : 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700'} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" %>
42+
<%= link_to "Trained Messages", trained_messages_path,
43+
class: "#{current_page?(trained_messages_path) ? 'border-indigo-500 text-gray-900' : 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700'} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" %>
44+
45+
<%= link_to "Group Classifiers", group_classifier_states_path,
46+
class: "#{current_page?(group_classifier_states_path) ? 'border-indigo-500 text-gray-900' : 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700'} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" %>
47+
48+
<%= link_to "Banned Users", banned_users_path,
49+
class: "#{current_page?(banned_users_path) ? 'border-indigo-500 text-gray-900' : 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700'} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" %>
50+
<%= link_to "Solid Queue Dashboard", solid_queue_dashboard.root_path,
51+
class: "#{current_page?(solid_queue_dashboard.root_path) ? 'border-indigo-500 text-gray-900' : 'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700'} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" %>
5052
</div>
5153
</div>
5254
</div>

0 commit comments

Comments
 (0)