summaryrefslogtreecommitdiff
path: root/app/controllers/groups
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-11 00:04:15 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 14:58:26 -0200
commitf98e97fe78dce11a1f88c3961be402d179e63927 (patch)
treebaa476bbbe5d431cc9169ab05f1ad133cb13b434 /app/controllers/groups
parent00e3c2e00f1c81aa2f7a76e4d93c8a1fb2074d6e (diff)
downloadgitlab-ce-f98e97fe78dce11a1f88c3961be402d179e63927.tar.gz
Reduce duplication between the project and group label forms
Diffstat (limited to 'app/controllers/groups')
-rw-r--r--app/controllers/groups/labels_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/groups/labels_controller.rb b/app/controllers/groups/labels_controller.rb
index 0ebdee55c79..483a5aedf12 100644
--- a/app/controllers/groups/labels_controller.rb
+++ b/app/controllers/groups/labels_controller.rb
@@ -21,6 +21,7 @@ class Groups::LabelsController < Groups::ApplicationController
def new
@label = @group.labels.new
+ @previous_labels_path = previous_labels_path
end
def create