Sha256: 49e9890f9438ce5bc925babee92fb4a4ee27592221e903cd795ecf39ad8d0255
Contents?: true
Size: 628 Bytes
Versions: 4
Compression:
Stored size: 628 Bytes
Contents
# -*- coding: utf-8 -*- require 'filterrific/param_set' require 'filterrific/action_controller_extension' require 'filterrific/active_record_extension' module Filterrific class EngineApi < ::Rails::Engine TODO: Since this is API only, I don't think we need an engine! # It's an engine so that we can add javascript and image assets # to the asset pipeline. isolate_namespace Filterrific ActiveSupport.on_load :action_controller do include Filterrific::ActionControllerExtension end ActiveSupport.on_load :active_record do extend Filterrific::ActiveRecordExtension end end end
Version data entries
4 entries across 4 versions & 1 rubygems