添加路由

This commit is contained in:
lizanle 2015-03-16 15:25:41 +08:00
parent a9cafb2241
commit 6bafec03e9
1 changed files with 3 additions and 0 deletions

View File

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