aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/mapper.rb
diff options
context:
space:
mode:
authorRobert Pankowecki <robert.pankowecki@gmail.com>2012-07-31 20:22:44 +0200
committerRobert Pankowecki <robert.pankowecki@gmail.com>2012-07-31 20:22:44 +0200
commitc5fcc9ad1cd95854c3c8129f453982c6acd8fd61 (patch)
tree4b990e137eb36c19aea019badbed8765ef361700 /actionpack/lib/action_dispatch/routing/mapper.rb
parent7b7501b2e591718897f8d4a1d201b6d72f0fe7cd (diff)
downloadrails-c5fcc9ad1cd95854c3c8129f453982c6acd8fd61.tar.gz
rails-c5fcc9ad1cd95854c3c8129f453982c6acd8fd61.tar.bz2
rails-c5fcc9ad1cd95854c3c8129f453982c6acd8fd61.zip
Update #resources documentation [ci skip]
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/mapper.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb
index 0a65b4dbcc..a4f868593a 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -1186,6 +1186,10 @@ module ActionDispatch
# sekret_comment PATCH/PUT /comments/:id(.:format)
# sekret_comment DELETE /comments/:id(.:format)
#
+ # [:format]
+ # Allows you to specify default value for optional +format+ segment
+ # or disable it if you supply +false+
+ #
# === Examples
#
# # routes call <tt>Admin::PostsController</tt>