Skip to content

Commit

Permalink
change nav
Browse files Browse the repository at this point in the history
  • Loading branch information
mattvanhorn committed Jan 8, 2021
1 parent b81a5aa commit 36fb7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Galleries
%b.caret
%ul.dropdown-menu.text-white.bg-dark
- Gallery.where("name IN ('Gallery 1', 'Gallery 2')").order('name ASC').each do |gallery|
- Gallery.where("name <> 'Portraits'").order('name ASC').each do |gallery|
%li
= link_to gallery.name, gallery_path(gallery)
%li.nav-item= link_to 'Portraits', portraits_path
Expand Down

0 comments on commit 36fb7b6

Please sign in to comment.