提交 43dd9c87 编写于 作者: C Carlos Antonio da Silva

Indent changelog markdown code to highlight correctly

[ci skip]
上级 9f68d524
...@@ -2,23 +2,23 @@ ...@@ -2,23 +2,23 @@
* Allow setting a symbol as path in scope on routes. This is now allowed: * Allow setting a symbol as path in scope on routes. This is now allowed:
scope :api do scope :api do
resources :users resources :users
end 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 :api do
scope :v1 do scope :v1 do
resources :users resources :users
end
end end
end
can be rewritten as: can be rewritten as:
scope :api, :v1 do scope :api, :v1 do
resources :users resources :users
end end
*Guillermo Iguaran* *Guillermo Iguaran*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册