app/controllers/itsf/backend/resource/base_controller.rb in itsf_backend-3.1.1 vs app/controllers/itsf/backend/resource/base_controller.rb in itsf_backend-4.0.0
- old
+ new
@@ -12,11 +12,11 @@
else
include Controller::RestActionsConcern
end
include Controller::ResourceUrlsConcern
include Controller::ResourceInflectionsConcern
- include Controller::RansackConcern if Itsf::Backend.features?(:ransack)
- include Controller::PaginationConcern if Itsf::Backend.features?(:kaminari)
+ prepend Controller::RansackConcern if Itsf::Backend.features?(:ransack)
+ prepend Controller::PaginationConcern if Itsf::Backend.features?(:kaminari)
include Controller::JsonApiConcern
include Controller::FeatureFlagsConcern
include Controller::ResourceLinksConcern
include Controller::CollectionLinksConcern
helper Itsf::Backend::ApplicationHelper