diff options
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r-- | actionpack/CHANGELOG.md | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 8f5e00ed73..85a83ed7d9 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -2,23 +2,23 @@ * Allow setting a symbol as path in scope on routes. This is now allowed: - scope :api do - resources :users - end + scope :api do + resources :users + end - also is possible pass multiple symbols to scope to shorten multiple nested scopes: + It is also possible to pass multiple symbols to scope to shorten multiple nested scopes: - scope :api do - scope :v1 do - resources :users + scope :api do + scope :v1 do + resources :users + end end - end can be rewritten as: - scope :api, :v1 do - resources :users - end + scope :api, :v1 do + resources :users + end *Guillermo Iguaran* |