mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Indent code example for :as option
This commit is contained in:
@@ -488,9 +488,9 @@ module ActionDispatch
|
||||
# [: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)
|
||||
|
||||
Reference in New Issue
Block a user