路由修改
This commit is contained in:
parent
c77c1a81a4
commit
926283398b
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue