Create an IssueCommentsController for managing IssueComments
This commit is contained in:
parent
f0e3a41726
commit
8cf16fe78b
5 changed files with 76 additions and 22 deletions
|
@ -292,6 +292,7 @@ OpenStreetMap::Application.routes.draw do
|
|||
|
||||
# issues and reports
|
||||
resources :issues do
|
||||
resources :comments, :controller => :issue_comments
|
||||
member do
|
||||
post "resolve"
|
||||
post "assign"
|
||||
|
@ -302,8 +303,6 @@ OpenStreetMap::Application.routes.draw do
|
|||
|
||||
resources :reports
|
||||
|
||||
post "/comment" => "issues#comment"
|
||||
|
||||
# redactions
|
||||
resources :redactions
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue