added moderator/tag
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
module Moderator
|
||||
class TagsController < ApplicationController
|
||||
before_filter :moderator_only
|
||||
rescue_from TagBatchChange::Error, :with => :error
|
||||
|
||||
def edit
|
||||
end
|
||||
@@ -10,5 +11,9 @@ module Moderator
|
||||
tag_batch_change.execute
|
||||
redirect_to edit_moderator_tag_path, :notice => "Posts updated"
|
||||
end
|
||||
|
||||
def error
|
||||
redirect_to edit_moderator_tag_path, :notice => "Error"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user