提交 7c51d1fc 编写于 作者: X Xavier Noria

Spanish for "project" is "proyecto"

上级 7d5b0973
......@@ -271,10 +271,10 @@ end
<ruby>
scope 'es' do
resources :projects, :path_names => { :edit => 'cambiar' }, :path => 'projecto'
resources :projects, :path_names => { :edit => 'cambiar' }, :path => 'proyecto'
end
# Gives you the edit action with /es/projecto/1/cambiar
# Gives you the edit action with /es/proyecto/1/cambiar
</ruby>
* Added +root+ method to the router as a short cut for <tt>match '/', :to => path</tt>.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册