X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f18baae22e4088af7f252c82f3c4a2576862a438..097449d8e190fe5c19aea5af816d25241b3dd591:/app/views/sessions/new.html.erb diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb index 947aafbf9..2844f3389 100644 --- a/app/views/sessions/new.html.erb +++ b/app/views/sessions/new.html.erb @@ -7,7 +7,7 @@ <% end %>
<%= t ".no account" %> <%= link_to t(".register now"), :action => :new, :referer => params[:referer] %>
+<%= t ".no account" %> <%= link_to t(".register now"), user_new_path(:referer => params[:referer]) %>
<%= bootstrap_form_tag(:action => "login", :html => { :id => "login_form" }) do |f| %> <%= hidden_field_tag("referer", h(params[:referer])) %>