<% unless current_user %>
<div class="notice">
- <%= link_to(t(".join_discussion"), :controller => "users", :action => "login", :referer => request.fullpath) %>
+ <%= link_to(t(".join_discussion"), login_path(:referer => request.fullpath)) %>
</div>
<% end %>