aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2012-12-10 01:40:45 +1100
committerHenare Degan <henare.degan@gmail.com>2012-12-11 11:09:39 +1100
commitb2f28a42f65c473bbf50bb98c2492518e87c10c4 (patch)
tree4330e3b1b1c069bffaaa592268669a82238c261c /app/controllers/application_controller.rb
parent273392dd8318230b2cc1070dd3c17abb8851c4b9 (diff)
Using #request_uri is deprecated
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index b22adf660..3206df1d2 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -240,7 +240,7 @@ class ApplicationController < ActionController::Base
# Check the user is logged in
def authenticated?(reason_params)
unless session[:user_id]
- post_redirect = PostRedirect.new(:uri => request.request_uri, :post_params => params,
+ post_redirect = PostRedirect.new(:uri => request.fullpath, :post_params => params,
:reason_params => reason_params)
post_redirect.save!
# 'modal' controls whether the sign-in form will be displayed in the typical full-blown