|
|
|
@ -83,6 +83,10 @@ RedmineApp::Application.routes.draw do
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
#resources :notificationcomments do
|
|
|
|
|
#
|
|
|
|
|
#end
|
|
|
|
|
|
|
|
|
|
#resources :contestnotifications, :only => [:index, :show, :edit, :update, :destroy]
|
|
|
|
|
# match '/contestnotifications/:id/notificationcomments', :to => 'notificationcomments#create', :via => :post
|
|
|
|
|
# match '/contestnotifications/:id/notificationcomments/:notificationcomment_id', :to => 'notificationcomments#destroy', :via => :delete
|
|
|
|
@ -91,7 +95,9 @@ RedmineApp::Application.routes.draw do
|
|
|
|
|
resources :contests, only: [:index] do
|
|
|
|
|
resources :contestnotifications do
|
|
|
|
|
# get 'preview', on: :collection
|
|
|
|
|
resources :notificationcomments
|
|
|
|
|
resources :notificationcomments do
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
collection do
|
|
|
|
|