Indent code example for :as option
This commit is contained in:
parent
7d83673134
commit
ee646788fc
@ -488,9 +488,9 @@ def initialize(*args) #:nodoc:
|
||||
# [:as]
|
||||
# Prefixes the routing helpers in this scope with the specified label.
|
||||
#
|
||||
# scope :as => "sekret" do
|
||||
# resources :posts
|
||||
# end
|
||||
# scope :as => "sekret" do
|
||||
# resources :posts
|
||||
# end
|
||||
#
|
||||
# Helpers such as +posts_path+ will now be +sekret_posts_path+
|
||||
def scope(*args)
|
||||
|
Loading…
Reference in New Issue
Block a user