From 4fe6d43cabe3bb2e094f308d010209c78005a3b9 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Sat, 4 Apr 2009 17:26:30 +0100 Subject: No whitespaces please --- actionpack/lib/action_controller/base.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack') 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}" -- cgit v1.2.3