Skip to content

Commit

Permalink
Change documentation to consistently refer to the same object
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
estsauver committed Sep 8, 2013
1 parent 7825832 commit be3b772
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions actionpack/lib/action_dispatch/routing/mapper.rb
Expand Up @@ -1066,18 +1066,18 @@ def resources_path_names(options)
# 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+.
Expand Down

0 comments on commit be3b772

Please sign in to comment.