Commit d7055376 authored by Phil Hughes's avatar Phil Hughes

Added redirect_to_referer to login link on issues

Closes #19968
parent 1cd573ee
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
.disabled-comment.text-center .disabled-comment.text-center
.disabled-comment-text.inline .disabled-comment-text.inline
Please Please
= link_to "register",new_user_session_path = link_to "register", new_session_path(:user, redirect_to_referer: 'yes')
or or
= link_to "login",new_user_session_path = link_to "login", new_session_path(:user, redirect_to_referer: 'yes')
to post a comment to post a comment
:javascript :javascript
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment