From c5fcc9ad1cd95854c3c8129f453982c6acd8fd61 Mon Sep 17 00:00:00 2001 From: Robert Pankowecki Date: Tue, 31 Jul 2012 20:22:44 +0200 Subject: Update #resources documentation [ci skip] --- actionpack/lib/action_dispatch/routing/mapper.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actionpack/lib') 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 Admin::PostsController -- cgit v1.2.3