projects/branches#destroy action missing and breaking MR display
happens with git HEAD (specifically master at revision 0d610270)
Started GET "/opensuse/puppet/merge_requests/102" for 127.0.0.1 at 2015-09-09 15:13:15 +0000
Processing by Projects::MergeRequestsController#show as HTML
Parameters: {"namespace_id"=>"opensuse", "project_id"=>"puppet", "id"=>"102"}
Completed 500 Internal Server Error in 385ms (ActiveRecord: 20.3ms)
ActionView::Template::Error (No route matches {:action=>"destroy", :controller=>"projects/branches", :id=>nil, :namespace_id=>#<Group id: 3, name: "opensuse", path: "opensuse", ...>, :project_id=>#<Project id: 1, name: "puppet", path: "puppet", ....>} missing required keys: [:id]):
20: The changes were merged into
21: %span.label-branch= @merge_request.target_branch
22: You can remove the source branch now.
23: = link_to namespace_project_branch_path(@merge_request.source_project.namespace, @merge_request.source_project, @source_branch), remote: true, method: :delete, class: "btn btn-primary btn-sm remove_source_branch" do
24: %i.fa.fa-times
25: Remove Source Branch
26:
app/views/projects/merge_requests/widget/_merged.html.haml:23:in `_app_views_projects_merge_requests_widget__merged_html_haml___3096897428760684062_101312240'
app/views/projects/merge_requests/widget/_show.html.haml:4:in `_app_views_projects_merge_requests_widget__show_html_haml__3872906028545945646_88768160'
app/views/projects/merge_requests/_show.html.haml:32:in `_app_views_projects_merge_requests__show_html_haml__4484876941039914316_90910960'
app/views/projects/merge_requests/show.html.haml:1:in `_app_views_projects_merge_requests_show_html_haml__3919067896970240326_91038620'
app/controllers/projects/merge_requests_controller.rb:48:in `show'