Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-01-19 21:58:02 +0300
committerRobert Speicher <robert@gitlab.com>2017-01-19 21:58:02 +0300
commit4b999ccd57c45ea8f30317c1ebde4623d67bf6f0 (patch)
treed56cdf40ca34806760ff83c2d81a8d7e18fc06d6 /app
parent2de5f511d153ae33a4ed6c21107cb21226ee9582 (diff)
parentf7eb3573593035c8512424801e02c4cb8dddf4c8 (diff)
Merge branch '26810-fix-undefined-method-revert_group_project_commit_path' into 'master'
Ensure group acts as a namespace for polymorphic routes Closes #26810 See merge request !8627
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/commit/_change.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_change.html.haml b/app/views/projects/commit/_change.html.haml
index 990908211de..421b3db342d 100644
--- a/app/views/projects/commit/_change.html.haml
+++ b/app/views/projects/commit/_change.html.haml
@@ -13,7 +13,7 @@
%a.close{ href: "#", "data-dismiss" => "modal" } ×
%h3.page-title== #{label} this #{commit.change_type_title(current_user)}
.modal-body
- = form_tag [type.underscore, @project.namespace, @project, commit], method: :post, remote: false, class: "form-horizontal js-#{type}-form js-requires-input" do
+ = form_tag [type.underscore, @project.namespace.becomes(Namespace), @project, commit], method: :post, remote: false, class: "form-horizontal js-#{type}-form js-requires-input" do
.form-group.branch
= label_tag 'target_branch', target_label, class: 'control-label'
.col-sm-10