Sha256: 67bada77971183b291879fe815890c6acf43353e40c10c0baefd6229bfd238b3

Contents?: true

Size: 336 Bytes

Versions: 21

Compression:

Stored size: 336 Bytes

Contents

require 'scoped_search/engine'

module ScopedSearch
  class Railtie < ::Rails::Railtie

    initializer "scoped_search.setup_rails_helper" do |app|
      ActiveSupport.on_load :action_controller do
        require "scoped_search/rails_helper"
        ActionController::Base.helper(ScopedSearch::RailsHelper)
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
scoped_search-3.0.0 lib/scoped_search/railtie.rb