summaryrefslogtreecommitdiff
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-16 16:01:15 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-16 16:01:15 -0800
commit41d7be3ce1ae9a4bff93b62322f35989b6ad4cf6 (patch)
tree804b510b0d4a05601395e8697402c6a3dfb4cddf /app/helpers/application_helper.rb
parentada6c6080b2fa0d63003f8b29b5c32195254906d (diff)
downloadgitlab-ce-41d7be3ce1ae9a4bff93b62322f35989b6ad4cf6.tar.gz
Allow to specify home page for non logged-in users
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 67c02f5dfa4..f65e04af205 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -292,9 +292,4 @@ module ApplicationHelper
profile_key_path(key)
end
end
-
- def redirect_from_root?
- request.env['rack.session']['user_return_to'] ==
- '/'
- end
end