aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/admin/blog/settings_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/admin/blog/settings_controller.rb')
-rw-r--r--app/controllers/admin/blog/settings_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/admin/blog/settings_controller.rb b/app/controllers/admin/blog/settings_controller.rb
index 9ea2997..962e8d1 100644
--- a/app/controllers/admin/blog/settings_controller.rb
+++ b/app/controllers/admin/blog/settings_controller.rb
@@ -5,7 +5,8 @@ class Admin::Blog::SettingsController < Admin::BaseController
end
def moderation
-
+ BlogComment::Moderation.toggle
+ redirect_back_or_default(admin_blog_posts_path)
end
end