Fix Admin::TagsController#unhide (#9481)
This commit is contained in:
parent
ae3d2f446a
commit
361818e931
2 changed files with 72 additions and 1 deletions
|
@ -18,7 +18,7 @@ module Admin
|
|||
|
||||
def unhide
|
||||
authorize @tag, :unhide?
|
||||
@tag.account_tag_stat.update!(hidden: true)
|
||||
@tag.account_tag_stat.update!(hidden: false)
|
||||
redirect_to admin_tags_path(@filter_params)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue