From 1128b38d6f1e5ad1d191680a6b777199f00950dc Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 19 Mar 2013 23:00:50 -0700 Subject: [PATCH] fixes #988 --- app/controllers/tag_corrections_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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