app/controllers/api/resources_controller/base.rb in rails-add_ons-2.2.1 vs app/controllers/api/resources_controller/base.rb in rails-add_ons-3.0.0.pre1
- old
+ new
@@ -1,7 +1,7 @@
module Api
module ResourcesController
- class Base < ::ApiController
+ class Base < Rails::AddOns::Configuration.api_resources_controller_base_class_name.constantize
module RestActions
extend ActiveSupport::Concern
included do
include ActionController::MimeResponds