diff options
author | Joost Baaij <joost@spacebabies.nl> | 2010-08-26 23:10:00 +0200 |
---|---|---|
committer | Joost Baaij <joost@spacebabies.nl> | 2010-08-26 23:10:00 +0200 |
commit | 6eed7b36a2ec6f94d9ac3f254b05697649b78881 (patch) | |
tree | fdb7e78b69f519932f782e287de0dbfda26c6238 /actionpack/lib/action_controller/metal | |
parent | c28d46a92d1ed91fe929871f5e0e4adcda46c2a7 (diff) | |
download | rails-6eed7b36a2ec6f94d9ac3f254b05697649b78881.tar.gz rails-6eed7b36a2ec6f94d9ac3f254b05697649b78881.tar.bz2 rails-6eed7b36a2ec6f94d9ac3f254b05697649b78881.zip |
escape constant names
Diffstat (limited to 'actionpack/lib/action_controller/metal')
-rw-r--r-- | actionpack/lib/action_controller/metal/responder.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/actionpack/lib/action_controller/metal/responder.rb b/actionpack/lib/action_controller/metal/responder.rb index aafba2a65f..851925e1b7 100644 --- a/actionpack/lib/action_controller/metal/responder.rb +++ b/actionpack/lib/action_controller/metal/responder.rb @@ -1,7 +1,7 @@ require 'active_support/json' module ActionController #:nodoc: - # Responder is responsible for exposing a resource to different mime requests, + # Responsible for exposing a resource to different mime requests, # usually depending on the HTTP verb. The responder is triggered when # <code>respond_with</code> is called. The simplest case to study is a GET request: # @@ -24,10 +24,10 @@ module ActionController #:nodoc: # # === Builtin HTTP verb semantics # - # The default Rails responder holds semantics for each HTTP verb. Depending on the + # The default \Rails responder holds semantics for each HTTP verb. Depending on the # content type, verb and the resource status, it will behave differently. # - # Using Rails default responder, a POST request for creating an object could + # Using \Rails default responder, a POST request for creating an object could # be written as: # # def create @@ -140,7 +140,7 @@ module ActionController #:nodoc: protected - # This is the common behavior for "navigation" requests, like :html, :iphone and so forth. + # This is the common behavior for formats associated with browsing, like :html, :iphone and so forth. def navigation_behavior(error) if get? raise error @@ -151,7 +151,7 @@ module ActionController #:nodoc: end end - # This is the common behavior for "API" requests, like :xml and :json. + # This is the common behavior for formats associated with APIs, such as :xml and :json. def api_behavior(error) raise error unless resourceful? |