diff options
author | Earl J St Sauver <estsauver@gmail.com> | 2013-09-08 14:42:28 -0700 |
---|---|---|
committer | Earl J St Sauver <estsauver@gmail.com> | 2013-09-08 15:04:14 -0700 |
commit | be3b772bc6dbaec84cfd5cadb14288157db442b4 (patch) | |
tree | 084e300ca5918cf3de2b22c6d4d3037397f94e74 | |
parent | 782583235d01caaefbdc24197b57623bc975d533 (diff) | |
download | rails-be3b772bc6dbaec84cfd5cadb14288157db442b4.tar.gz rails-be3b772bc6dbaec84cfd5cadb14288157db442b4.tar.bz2 rails-be3b772bc6dbaec84cfd5cadb14288157db442b4.zip |
Change documentation to consistently refer to the same object
The documentation in this section is referring to a profile,
so the resource that's created should probably also be a
profile of some sort.
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index f4dd075153..99e2987fea 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -1066,18 +1066,18 @@ module ActionDispatch # a singular resource to map /profile (rather than /profile/:id) to # the show action: # - # resource :geocoder + # resource :profile # # creates six different routes in your application, all mapping to - # the +GeoCoders+ controller (note that the controller is named after + # the +Profiles+ controller (note that the controller is named after # the plural): # - # GET /geocoder/new - # POST /geocoder - # GET /geocoder - # GET /geocoder/edit - # PATCH/PUT /geocoder - # DELETE /geocoder + # GET /profile/new + # POST /profile + # GET /profile + # GET /profile/edit + # PATCH/PUT /profile + # DELETE /profile # # === Options # Takes same options as +resources+. |