|
|
@ -76,7 +76,7 @@ RedmineApp::Application.routes.draw do
|
|
|
|
match '/contestnotifications/preview', :controller => 'previews', :action => 'contestnotifications', :as => 'preview_contestnotifications', :via => [:get, :post, :put]
|
|
|
|
match '/contestnotifications/preview', :controller => 'previews', :action => 'contestnotifications', :as => 'preview_contestnotifications', :via => [:get, :post, :put]
|
|
|
|
## new added by linchun #新竞赛相关
|
|
|
|
## new added by linchun #新竞赛相关
|
|
|
|
resources :contests, only: [:index] do
|
|
|
|
resources :contests, only: [:index] do
|
|
|
|
resources :contestnotifications#, except: [:index]
|
|
|
|
resources :contestnotifications
|
|
|
|
collection do
|
|
|
|
collection do
|
|
|
|
match 'new_contest' , via: :get
|
|
|
|
match 'new_contest' , via: :get
|
|
|
|
match 'join_in_contest' , via: :post
|
|
|
|
match 'join_in_contest' , via: :post
|
|
|
|