From: Aidan Cornelius-Bell Date: Mon, 7 Oct 2024 23:34:14 +0000 (+1030) Subject: consistently link to join X-Git-Url: https://gitweb.mndrdr.org/?a=commitdiff_plain;h=2634c553afe0ea8062caad50535c8e180a589665;p=arelpe.git consistently link to join --- 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 %>