[#345] fix update commit

This commit is contained in:
Alexander Machehin 2014-04-15 15:14:58 +06:00
parent fcffae475b
commit 015518d89c
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ Rosa::Application.routes.draw do
# Commit comments
post '/commit/:commit_id/comments(.:format)' => "comments#create", as: :project_commit_comments
get '/commit/:commit_id/comments/:id(.:format)' => "comments#edit", as: :edit_project_commit_comment
put '/commit/:commit_id/comments/:id(.:format)' => "comments#update", as: :project_commit_comment
patch '/commit/:commit_id/comments/:id(.:format)' => "comments#update", as: :project_commit_comment
delete '/commit/:commit_id/comments/:id(.:format)' => "comments#destroy"
get '/commit/:commit_id/add_line_comments(.:format)' => "comments#new_line", as: :new_line_commit_comment
# Commit subscribes