diff --git a/app/controllers/tag_corrections_controller.rb b/app/controllers/tag_corrections_controller.rb index 5a0b95515..73401d99a 100644 --- a/app/controllers/tag_corrections_controller.rb +++ b/app/controllers/tag_corrections_controller.rb @@ -6,8 +6,9 @@ class TagCorrectionsController < ApplicationController end def create + @correction = TagCorrection.new(params[:tag_id]) + if params[:commit] == "Fix" - @correction = TagCorrection.new(params[:tag_id]) @correction.fix! end