From fb11ae0ced79fd4a1958783ebcf7998259966953 Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 20 Mar 2013 09:36:41 -0700 Subject: [PATCH] fixes #998 --- app/controllers/tag_corrections_controller.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/controllers/tag_corrections_controller.rb b/app/controllers/tag_corrections_controller.rb index 73401d99a..43319da2d 100644 --- a/app/controllers/tag_corrections_controller.rb +++ b/app/controllers/tag_corrections_controller.rb @@ -10,8 +10,9 @@ class TagCorrectionsController < ApplicationController if params[:commit] == "Fix" @correction.fix! + redirect_to tags_path(:search => {:name_matches => @correction.tag.name}), :notice => "Tag will be fixed in a few seconds" + else + redirect_to tags_path(:search => {:name_matches => @correction.tag.name}) end - - redirect_to tags_path(:search => {:name_matches => @correction.tag.name}), :notice => "Tag will be fixed in a few seconds" end end