about summary refs log tree commit diff stats
path: root/app/controllers/admin/blogs_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/admin/blogs_controller.rb')
-rw-r--r--app/controllers/admin/blogs_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/blogs_controller.rb b/app/controllers/admin/blogs_controller.rb index 1035c12..e79dd81 100644 --- a/app/controllers/admin/blogs_controller.rb +++ b/app/controllers/admin/blogs_controller.rb
@@ -56,7 +56,7 @@ class Admin::BlogsController < Admin::AdminController
56 private 56 private
57 57
58 def blog_params 58 def blog_params
59 params.require(:blog).permit(:title, :body, :slug, :published, records_attributes: [:description, :_destroy]) 59 params.require(:blog).permit(:title, :body, :slug, :published, :tag_list, records_attributes: [:description, :_destroy])
60 end 60 end
61 61
62 def set_section 62 def set_section