fixes #998
This commit is contained in:
@@ -10,8 +10,9 @@ class TagCorrectionsController < ApplicationController
|
|||||||
|
|
||||||
if params[:commit] == "Fix"
|
if params[:commit] == "Fix"
|
||||||
@correction.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
|
end
|
||||||
|
|
||||||
redirect_to tags_path(:search => {:name_matches => @correction.tag.name}), :notice => "Tag will be fixed in a few seconds"
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user