提交 199cb0f8 编写于 作者: S Santiago Pastorino

as changes named routes, path is the appropriate option in this case

上级 8d0bdbf0
......@@ -273,7 +273,7 @@ end
<ruby>
scope 'es' do
resources :projects, :path_names => { :edit => 'cambiar' }, :as => 'projeto'
resources :projects, :path_names => { :edit => 'cambiar' }, :path => 'projeto'
end
# Gives you the edit action with /es/projeto/1/cambiar
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册