Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix indentation for :as option documentation on the namespace method

  • Loading branch information...
commit 205b24064e433428babdeb7f14de08f57c5cc789 1 parent 4ffd31e
@radar radar authored fxn committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 actionpack/lib/action_dispatch/routing/mapper.rb
View
8 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -569,11 +569,11 @@ def controller(controller, options={})
# end
#
# [:as]
- # Changes the name used in routing helpers for this namespace.
+ # Changes the name used in routing helpers for this namespace.
#
- # namespace :admin, :as => "sekret" do
- # resources :posts
- # end
+ # namespace :admin, :as => "sekret" do
+ # resources :posts
+ # end
#
# Routing helpers such as +admin_posts_path+ will now be +sekret_posts_path+.
def namespace(path, options = {})
Please sign in to comment.
Something went wrong with that request. Please try again.