Branch name containing two '/'
Created by: sleicht
If a branch has two '/' like 'features/username/myFeature' browsing the branches ends up in a 404. Log shows following error: Started GET "/root/tools_eclipse-scout-sdk/branches" for 127.0.0.1 at 2013-08-23 16:13:37 +0200 Processing by Projects::BranchesController#index as HTML Parameters: {"project_id"=>"root/tools_eclipse-scout-sdk"} Rendered shared/_ref_switcher.html.haml (1.9ms) Rendered projects/commits/_head.html.haml (4.3ms) Rendered projects/branches/_filter.html.haml (1.3ms) Rendered projects/branches/_branch.html.haml (8.2ms) Rendered projects/branches/_branch.html.haml (4.0ms) Rendered projects/branches/_branch.html.haml (2.6ms) Rendered projects/branches/index.html.haml within layouts/projects (21.6ms) Completed 500 Internal Server Error in 53ms
ActionController::RoutingError (No route matches {:action=>"destroy", :controller=>"projects/branches", :project_id=>#<Project id: 3, name: "tools_eclipse.scout.sdk", path: "tools_eclipse-scout-sdk", description: "", created_at: "2013-08-23 13:33:45", updated_at: "2013-08-23 13:37:28", creator_id: 1, default_branch: "develop", issues_enabled: true, wall_enabled: false, merge_requests_enabled: true, wiki_enabled: true, namespace_id: 1, public: false, issues_tracker: "gitlab", issues_tracker_id: nil, snippets_enabled: false, last_activity_at: "2013-08-23 14:10:43", imported: false, import_url: "">, :id=>"features/aho/jdt"}):
app/views/projects/branches/_branch.html.haml:17:in _app_views_projects_branches__branch_html_haml___4523235684286834153_70217854347020' app/views/projects/branches/index.html.haml:9:in
block in _app_views_projects_branches_index_html_haml___1530773628932448651_70217854072420'
app/views/projects/branches/index.html.haml:8:in each' app/views/projects/branches/index.html.haml:8:in
_app_views_projects_branches_index_html_haml___1530773628932448651_70217854072420'