Class: Admin::PostsController

Inherits:
ApplicationController
  • Object
show all
Includes:
Effective::CrudController
Defined in:
app/controllers/admin/posts_controller.rb

Instance Method Summary collapse

Instance Method Details

#post_paramsObject



13
14
15
# File 'app/controllers/admin/posts_controller.rb', line 13

def post_params
  params.require(:effective_post).permit!
end