diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index e5faf7e1a2..0b58c38fb5 100644 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -1337,7 +1337,7 @@ module ActionController #:nodoc: end end end - + # Returns true if a render or redirect has already been performed. def performed? @performed_render || @performed_redirect @@ -1346,7 +1346,7 @@ module ActionController #:nodoc: def assign_names @action_name = (params['action'] || 'index') end - + # Returns a set of the methods defined as actions in your controller def action_methods self.class.action_methods @@ -1373,7 +1373,7 @@ module ActionController #:nodoc: # otherwise you'd get different results if calling it more than once @request_origin ||= "#{request.remote_ip} at #{Time.now.to_s(:db)}" end - + # Returns the request URI used to get to the current location def complete_request_uri "#{request.protocol}#{request.host}#{request.request_uri}" |