]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_header.html.erb
Use resourceful routes for user new/create actions
[rails.git] / app / views / layouts / _header.html.erb
index 322b738ec45f2fc61897f022e3a4b441ac019cb0..45e23fc2b914471be7f4f40a830ef341447c2ef6 100644 (file)
     <% else %>
       <div class="d-inline-flex btn-group login-menu" role="">
         <%= link_to t("layouts.log_in"), login_path(:referer => request.fullpath), :class => "geolink btn btn-outline-secondary" %>
-        <%= link_to t("layouts.sign_up"), user_new_path, :class => "btn btn-outline-secondary" %>
+        <%= link_to t("layouts.sign_up"), new_user_path, :class => "btn btn-outline-secondary" %>
       </div>
     <% end %>
   </nav>