Remove code to delete all comments on one line and restore default delete route for comments

This commit is contained in:
Maximilian Grundke
2017-08-25 18:15:02 +02:00
parent 771793f32e
commit 6aaa0f3bca
3 changed files with 5 additions and 22 deletions

View File

@ -14,11 +14,7 @@ Rails.application.routes.draw do
post :set_thank_you_note
end
end
resources :comments, except: [:destroy] do
collection do
delete :destroy
end
end
resources :comments
get '/my_request_for_comments', as: 'my_request_for_comments', to: 'request_for_comments#get_my_comment_requests'
get '/my_rfc_activity', as: 'my_rfc_activity', to: 'request_for_comments#get_rfcs_with_my_comments'