Skip to content
Permalink
Browse files

Make navbar buttons dynamic

  • Loading branch information
ImsirovicAjdin committed Dec 17, 2019
1 parent 4675f21 commit c108f8470f3c532905f373c7d7f9072d95040091
Showing with 8 additions and 6 deletions.
  1. +8 −6 app/views/partials/_nav.html.erb
@@ -24,12 +24,14 @@
<div class="navbar-end">
<div class="navbar-item">
<div class="buttons">
<a class="button is-primary">
<strong>Sign up</strong>
</a>
<a class="button is-light">
Log in
</a>
<%= link_to "Sign Up",
new_user_registration_path,
class: "button is-primary"
%>
<%= link_to "Login",
new_user_session_path,
class: "button is-light"
%>
<%= link_to "Log out",
destroy_user_session_path,
method: :delete,

0 comments on commit c108f84

Please sign in to comment.
You can’t perform that action at this time.