Skip to content

Commit c1c98a2

Browse files
authored
Merge pull request #836 from codeRIT/GalleryToNavbar_BH-49
PR: Gallery link to Nav
2 parents 2b74dbd + 5df43de commit c1c98a2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

app/views/layouts/_nav.html.erb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
if simplified_nav
44
pages = ['Home']
55
else
6-
pages = ['About', 'Travel', 'FAQ', 'Sponsors']
6+
pages = ['About', 'Travel', 'FAQ', 'Sponsors', 'Gallery']
77
end
88
%>
99

@@ -15,6 +15,10 @@
1515
<a class="nav__link" href="/">
1616
<%= page %>
1717
</a>
18+
<% elsif page == 'Gallery' %>
19+
<a class="nav__link" href="/gallery/">
20+
<%= page %>
21+
</a>
1822
<% else %>
1923
<a class="nav__link" href="#<%= page.downcase %>">
2024
<%= page %>

0 commit comments

Comments
 (0)