Commit 48449d9a authored by Jake Lear's avatar Jake Lear

Cleanup unused view from group/labels destroy controller

parent 248dc589
......@@ -60,13 +60,7 @@ class Groups::LabelsController < Groups::ApplicationController
def destroy
@label.destroy
respond_to do |format|
format.html do
redirect_to group_labels_path(@group), status: :found, notice: "#{@label.name} deleted permanently"
end
format.js
end
redirect_to group_labels_path(@group), status: :found, notice: "#{@label.name} deleted permanently"
end
protected
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment