Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
48449d9a
Commit
48449d9a
authored
Sep 18, 2020
by
Jake Lear
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup unused view from group/labels destroy controller
parent
248dc589
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
app/controllers/groups/labels_controller.rb
app/controllers/groups/labels_controller.rb
+1
-7
No files found.
app/controllers/groups/labels_controller.rb
View file @
48449d9a
...
@@ -60,13 +60,7 @@ class Groups::LabelsController < Groups::ApplicationController
...
@@ -60,13 +60,7 @@ class Groups::LabelsController < Groups::ApplicationController
def
destroy
def
destroy
@label
.
destroy
@label
.
destroy
redirect_to
group_labels_path
(
@group
),
status: :found
,
notice:
"
#{
@label
.
name
}
deleted permanently"
respond_to
do
|
format
|
format
.
html
do
redirect_to
group_labels_path
(
@group
),
status: :found
,
notice:
"
#{
@label
.
name
}
deleted permanently"
end
format
.
js
end
end
end
protected
protected
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment