Fix #4130: Remove tag alias corrections.
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
class TagAliasCorrectionsController < ApplicationController
|
||||
before_action :builder_only, only: [:create]
|
||||
|
||||
def create
|
||||
@correction = TagAliasCorrection.new(params[:tag_alias_id])
|
||||
|
||||
if params[:commit] == "Fix"
|
||||
@correction.fix!
|
||||
flash[:notice] = "The fix has been queued and will be processed"
|
||||
end
|
||||
|
||||
redirect_to tag_alias_correction_path(:tag_alias_id => params[:tag_alias_id])
|
||||
end
|
||||
|
||||
def show
|
||||
@correction = TagAliasCorrection.new(params[:tag_alias_id])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user