diff options
Diffstat (limited to 'app/views/application')
-rw-r--r-- | app/views/application/_navbar.html.erb | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/app/views/application/_navbar.html.erb b/app/views/application/_navbar.html.erb index 5d3a2cb..85f4642 100644 --- a/app/views/application/_navbar.html.erb +++ b/app/views/application/_navbar.html.erb @@ -1,16 +1,13 @@ <ul class="py-2 px-2 col-span-12 text-display"> - <% if user_signed_in? %> <%# Will replace this with `current_character` or equivalent, eventually %> + <% if current_char %> <li class="mr-6 inline"> - LinkA + Actions </li> <li class="mr-6 inline"> - LinkB + <%= link_to "Character", character_path(current_char) %> </li> <li class="mr-6 inline"> - LinkC - </li> - <li class="mr-6 inline"> - LinkD + <%= link_to "Inventory", character_items_path(current_char) %> </li> <% end %> </ul> |