Class: Brightcontent::BaseController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Brightcontent::BaseController
- Includes:
- Brightcontent::BaseControllerExt::DefaultActions, Brightcontent::BaseControllerExt::Fields, Brightcontent::BaseControllerExt::Filtering, Brightcontent::BaseControllerExt::Pagination
- Defined in:
- app/controllers/brightcontent/base_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods included from Brightcontent::BaseControllerExt::Filtering
Methods included from Brightcontent::BaseControllerExt::DefaultActions
#create, #destroy, #show, #update
Methods inherited from ApplicationController
Instance Method Details
#permitted_params ⇒ Object
14 15 16 |
# File 'app/controllers/brightcontent/base_controller.rb', line 14 def permitted_params params.permit! end |
#resource_params ⇒ Object
18 19 20 |
# File 'app/controllers/brightcontent/base_controller.rb', line 18 def resource_params [permitted_params[resource_instance_name]] end |