路由修改

This commit is contained in:
lizanle 2015-03-17 09:41:30 +08:00
parent c77c1a81a4
commit 926283398b
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@
RedmineApp::Application.routes.draw do
resources :discuss_demo
match '/discuss_demo/new',:to => 'discuss_demo#create',:via =>[:post]
resources :discuss_demos
#match '/discuss_demos/new',:to => 'discuss_demo#create',:via =>[:post]
#match '/discuss_demo/show',:to => 'discuss_demo#show'
mount Mobile::API => '/api'