diff options
author | Phil Hughes <me@iamphill.com> | 2016-07-19 15:27:11 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-07-19 15:27:11 +0300 |
commit | d705537634e1bd94fb24108a8a35da0a0441a0ef (patch) | |
tree | 31b883bc32457c4beda5861013971f7f6ee941fb /app/views/projects/notes | |
parent | 1cd573ee7f03bcb356478aab5900fae4618b53ec (diff) |
Added redirect_to_referer to login link on issues
Closes #19968
Diffstat (limited to 'app/views/projects/notes')
-rw-r--r-- | app/views/projects/notes/_notes_with_form.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/notes/_notes_with_form.html.haml b/app/views/projects/notes/_notes_with_form.html.haml index 56d302fab82..74538a9723e 100644 --- a/app/views/projects/notes/_notes_with_form.html.haml +++ b/app/views/projects/notes/_notes_with_form.html.haml @@ -14,9 +14,9 @@ .disabled-comment.text-center .disabled-comment-text.inline Please - = link_to "register",new_user_session_path + = link_to "register", new_session_path(:user, redirect_to_referer: 'yes') or - = link_to "login",new_user_session_path + = link_to "login", new_session_path(:user, redirect_to_referer: 'yes') to post a comment :javascript |