after a tag correction, display tag whether it is empty or not

This commit is contained in:
Toks
2013-06-23 18:55:45 -04:00
parent 9f3cbf7bf5
commit f4706aa3be

View File

@@ -14,7 +14,7 @@ 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"
redirect_to tags_path(:search => {:name_matches => @correction.tag.name, :hide_empty => "no"}), :notice => "Tag will be fixed in a few seconds"
else
redirect_to tags_path(:search => {:name_matches => @correction.tag.name})
end