lib/expose_query.rb in expose_query-0.0.1 vs lib/expose_query.rb in expose_query-0.0.2
- old
+ new
@@ -2,12 +2,9 @@
require 'expose_query/base_query'
require 'expose_query/controller_dsl'
require 'expose_query/active_record_query_strategy'
require 'decent_exposure'
-ActiveSupport.on_load(:action_controller) do
- include ExposeQuery::ControllerDsl
-end
DecentExposure::ActiveRecordStrategy.class_eval do
include ExposeQuery::ActiveRecordQueryStrategy
alias_method :original_resource, :resource