Sha256: 4e81dd3ec3c53a06f69bddf3b9012af38f80514246aee927fb633fc5626cf739
Contents?: true
Size: 759 Bytes
Versions: 11
Compression:
Stored size: 759 Bytes
Contents
# -*- coding: utf-8 -*- require 'filterrific/param_set' require 'filterrific/has_reset_filterrific_url_mixin' require 'filterrific/action_controller_extension' require 'filterrific/action_view_extension' require 'filterrific/active_record_extension' module Filterrific class Engine < ::Rails::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 :action_view do include Filterrific::ActionViewExtension end ActiveSupport.on_load :active_record do extend Filterrific::ActiveRecordExtension end end end
Version data entries
11 entries across 11 versions & 1 rubygems