From f3e970ab1b4699eb7ff1a8f2fcf7392dfff553c1 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Sat, 10 Dec 2022 01:10:28 -0500 Subject: [PATCH] Moved the navbar into a partial --- views/layout.erb | 9 +-------- views/layout/navbar.erb | 8 ++++++++ 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 views/layout/navbar.erb diff --git a/views/layout.erb b/views/layout.erb index 792ab5f..34636d0 100644 --- a/views/layout.erb +++ b/views/layout.erb @@ -11,14 +11,7 @@ - + <%= erb :'layout/navbar' %>
<%= yield %> diff --git a/views/layout/navbar.erb b/views/layout/navbar.erb new file mode 100644 index 0000000..72acf2b --- /dev/null +++ b/views/layout/navbar.erb @@ -0,0 +1,8 @@ +