Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-29 11:30:39 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-29 11:30:39 +0400
commitfacfec4b242ce151af224e20715d58e628aa5e74 (patch)
tree26e7ea5cb3751fbe8cae6d1f048e5714b1e449f9 /app/views/layouts/_public_head_panel.html.haml
parent1ddca461b8e7b96ac4b5ffa9e7862ba0366c521e (diff)
parent7816360c7d5980a2c518b2fa2fbf97ee034195fc (diff)
Merge branch 'patch-release' into '7-1-stable'v7.1.1
Patch release Part of #1470 See merge request !1000
Diffstat (limited to 'app/views/layouts/_public_head_panel.html.haml')
-rw-r--r--app/views/layouts/_public_head_panel.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/_public_head_panel.html.haml b/app/views/layouts/_public_head_panel.html.haml
index 63992a22f32..b943c3c3f09 100644
--- a/app/views/layouts/_public_head_panel.html.haml
+++ b/app/views/layouts/_public_head_panel.html.haml
@@ -13,10 +13,10 @@
%i.icon-reorder
.pull-right.hidden-xs
- = link_to "Sign in", new_session_path(:user), class: 'btn btn-sign-in btn-new'
+ = link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-new'
.navbar-collapse.collapse
%ul.nav.navbar-nav
%li.visible-xs
- = link_to "Sign in", new_session_path(:user)
+ = link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes')