about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorysksn <bluewhale1982@gmail.com>2018-12-11 05:37:38 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-12-10 21:37:38 +0100
commit361818e931eff47db937ffa18d89575e2a9dd5be (patch)
tree252b5c0ab1cc666792134286fb60e6306ca4115b /app/controllers
parentae3d2f446a60269740a72969d74fa57168530c97 (diff)
Fix Admin::TagsController#unhide (#9481)
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/admin/tags_controller.rb2
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