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-4.1.12 lib/scoped_search/railtie.rb
scoped_search-4.1.11 lib/scoped_search/railtie.rb
scoped_search-4.1.10 lib/scoped_search/railtie.rb
scoped_search-4.1.9 lib/scoped_search/railtie.rb
scoped_search-4.1.8 lib/scoped_search/railtie.rb
scoped_search-4.1.7 lib/scoped_search/railtie.rb
scoped_search-4.1.6 lib/scoped_search/railtie.rb
scoped_search-4.1.5 lib/scoped_search/railtie.rb
scoped_search-4.1.4 lib/scoped_search/railtie.rb
scoped_search-4.1.3 lib/scoped_search/railtie.rb
scoped_search-4.1.2 lib/scoped_search/railtie.rb
scoped_search-4.1.1 lib/scoped_search/railtie.rb
scoped_search-4.1.0 lib/scoped_search/railtie.rb
scoped_search-4.0.0 lib/scoped_search/railtie.rb
scoped_search-3.3.0 lib/scoped_search/railtie.rb
scoped_search-3.2.2 lib/scoped_search/railtie.rb
scoped_search-3.2.1 lib/scoped_search/railtie.rb
scoped_search-3.2.0 lib/scoped_search/railtie.rb
scoped_search-3.1.0 lib/scoped_search/railtie.rb
scoped_search-3.0.1 lib/scoped_search/railtie.rb