|
|
|
@ -82,7 +82,7 @@ RedmineApp::Application.routes.draw do
|
|
|
|
|
match 'user_projects', :to => 'users#user_projects', :via => :get, :as => "user_projects"
|
|
|
|
|
match 'user_activities', :to => 'users#show', :via => :get, :as => "user_activities"
|
|
|
|
|
match 'user_newfeedback', :to => 'users#user_newfeedback', :via => :get, :as => "user_newfeedback"
|
|
|
|
|
match 'watch_bids', :controller => 'users', :action => 'watch_bids', :via => [:get , :post]
|
|
|
|
|
match 'watch_calls', :controller => 'users', :action => 'watch_bids', :via => [:get , :post]
|
|
|
|
|
match 'info', :to => 'users#info', :via => [:get , :post], :as => 'user_info'
|
|
|
|
|
match 'user_watchlist', :to => 'users#user_watchlist', :via => :get, :as => "user_watchlist" #add by huang
|
|
|
|
|
match 'user_fanslist', :to => 'users#user_fanslist', :via => :get, :as => "user_fanslist" #add by huang
|
|
|
|
@ -429,23 +429,23 @@ RedmineApp::Application.routes.draw do
|
|
|
|
|
get 'words/more', :to => 'words#more'
|
|
|
|
|
get 'words/back', :to=> 'words#back'
|
|
|
|
|
############## fq
|
|
|
|
|
post 'bids/create', :to => 'bids#create'
|
|
|
|
|
delete 'bids/destroy', :to => 'bids#destroy'
|
|
|
|
|
match 'bids/new', :controller => 'bids', :action => 'new', :via => [:get , :post]
|
|
|
|
|
get 'bids/more', :to => 'bids#more'
|
|
|
|
|
get 'bids/back', :to=> 'bids#back'
|
|
|
|
|
match 'bids/new_bid', :controller => 'bids', :action => 'new_bid'
|
|
|
|
|
match 'bids/:id/show_project', :controller => 'bids', :action => 'show_project', :as => 'project_for_bid'
|
|
|
|
|
match 'bids/:id/add', :controller => 'bids', :action => 'add'
|
|
|
|
|
post 'calls/create', :to => 'bids#create'
|
|
|
|
|
delete 'calls/destroy', :to => 'bids#destroy'
|
|
|
|
|
match 'calls/new', :controller => 'bids', :action => 'new', :via => [:get , :post]
|
|
|
|
|
get 'calls/more', :to => 'bids#more'
|
|
|
|
|
get 'calls/back', :to=> 'bids#back'
|
|
|
|
|
match 'calls/new_bid', :controller => 'bids', :action => 'new_bid'
|
|
|
|
|
match 'calls/:id/show_project', :controller => 'bids', :action => 'show_project', :as => 'project_for_bid'
|
|
|
|
|
match 'calls/:id/add', :controller => 'bids', :action => 'add'
|
|
|
|
|
match 'words/add_project_respond', :controller => 'words', :action => 'add_project_respond'
|
|
|
|
|
match 'projects/:id/feedback', :to => 'projects#feedback', :via => :get, :as => 'project_feedback'
|
|
|
|
|
match 'bids/create_bid', :to => 'bids#create_bid'
|
|
|
|
|
match 'calls/create_bid', :to => 'bids#create_bid'
|
|
|
|
|
## 测试用
|
|
|
|
|
# match 'test/index', :controller => 'test', :action => 'index'
|
|
|
|
|
# added by young
|
|
|
|
|
match 'bids', :controller => 'bids', :action => 'index'
|
|
|
|
|
match 'calls', :controller => 'bids', :action => 'index'
|
|
|
|
|
|
|
|
|
|
match 'bids/:id', :controller => 'bids', :action => 'show', :as => 'respond'
|
|
|
|
|
match 'calls/:id', :controller => 'bids', :action => 'show', :as => 'respond'
|
|
|
|
|
|
|
|
|
|
######added by nie
|
|
|
|
|
match 'tags/show_projects_tags',:to => 'tags#show_projects_tags'
|
|
|
|
|