From: Tom Hughes Date: Mon, 29 Mar 2021 14:15:48 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/3157' X-Git-Tag: live~2151 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/bdfd93579342135a097cd90d906bc15adb3b666c?hp=640fee0bf87f7922c6180b4edd2d2402e60270c7 Merge remote-tracking branch 'upstream/pull/3157' --- 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])) %>