提交 9adcf951 编写于 作者: J Jeremy Kemper

Fix failing test introduced by optional-format routes

上级 39de112e
......@@ -48,6 +48,7 @@ def setup
ActionController::Routing::Routes.draw do |map|
map.main '', :controller => 'posts'
map.formatted_posts 'posts.:format', :controller => 'posts'
map.resources :posts
map.connect ':controller/:action/:id'
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册