Add new route to view all RFCs the user has commented on

This commit is contained in:
Maximilian Grundke
2017-08-13 15:01:11 +02:00
parent b2344cfd97
commit 726ef31ee7
5 changed files with 19 additions and 2 deletions

View File

@ -20,6 +20,7 @@ Rails.application.routes.draw do
end
end
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'
delete '/comment_by_id', to: 'comments#destroy_by_id'
put '/comments', to: 'comments#update'