diff options
author | ysksn <bluewhale1982@gmail.com> | 2018-12-11 05:37:38 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-10 21:37:38 +0100 |
commit | 361818e931eff47db937ffa18d89575e2a9dd5be (patch) | |
tree | 252b5c0ab1cc666792134286fb60e6306ca4115b /app/controllers | |
parent | ae3d2f446a60269740a72969d74fa57168530c97 (diff) |
Fix Admin::TagsController#unhide (#9481)
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/admin/tags_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/tags_controller.rb b/app/controllers/admin/tags_controller.rb index 3f2256566..e9f4f2cfa 100644 --- a/app/controllers/admin/tags_controller.rb +++ b/app/controllers/admin/tags_controller.rb @@ -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 |