Fixed wrong request method in deny_access.

This commit is contained in:
benni 2012-12-30 15:13:50 +01:00
parent 9e228085df
commit a489079334

View file

@ -22,7 +22,7 @@ class ApplicationController < ActionController::Base
helper_method :current_user
def deny_access
self.return_to = request.request_uri
self.return_to = request.original_url
redirect_to login_url, :alert => 'Access denied!'
end