From 2634c553afe0ea8062caad50535c8e180a589665 Mon Sep 17 00:00:00 2001 From: Aidan Cornelius-Bell Date: Tue, 8 Oct 2024 10:04:14 +1030 Subject: [PATCH] consistently link to join --- app/views/pubview/show_public.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/pubview/show_public.html.erb b/app/views/pubview/show_public.html.erb index 39493fc..0e67bd1 100644 --- a/app/views/pubview/show_public.html.erb +++ b/app/views/pubview/show_public.html.erb @@ -11,6 +11,7 @@ <%= link_to "Home", root_path(filter: 'all'), class: "button #{@filter == 'all' ? 'active' : ''}" %> <%= link_to "Dispatches", root_path(filter: 'posts'), class: "button #{@filter == 'posts' ? 'active' : ''}" %> <%= link_to "Bookmarks", root_path(filter: 'bookmarks'), class: "button #{@filter == 'bookmarks' ? 'active' : ''}" %> + <%= link_to "Join mind reader", join_path, class: "button" %> <% @pages.each do |pg| %> <%= link_to "#{pg.title}", public_page_path(pg.slug), class: "button #{params[:slug] == pg.slug ? 'active' : ''}" %> <% end %> -- 2.39.5