Sha256: 4448d43d267e0de6b01c0f99c86e5632e091a9d238097e63e22ccefc5b9ffabc

Contents?: true

Size: 442 Bytes

Versions: 115

Compression:

Stored size: 442 Bytes

Contents

module Bookends
  class Engine < ::Rails::Engine
    isolate_namespace Bookends

    initializer 'bookends.action_controller' do |app|
      ActiveSupport.on_load :action_controller do
        helper Bookends::ApplicationHelper
      end
    end

    initializer "bookends.routes", before: :load_config_initializers do |app|
      Rails.application.routes.append do
        mount Bookends::Engine, at: '/bookends'
      end
    end
  end
end

Version data entries

115 entries across 115 versions & 1 rubygems

Version Path
bookends-10.3.4 lib/bookends/engine.rb
bookends-10.3.3 lib/bookends/engine.rb
bookends-10.3.2 lib/bookends/engine.rb
bookends-10.3.1 lib/bookends/engine.rb
bookends-10.3.0 lib/bookends/engine.rb
bookends-10.2.8 lib/bookends/engine.rb
bookends-10.2.7 lib/bookends/engine.rb
bookends-10.2.6 lib/bookends/engine.rb
bookends-10.2.5 lib/bookends/engine.rb
bookends-10.2.5.alpha8 lib/bookends/engine.rb
bookends-10.2.5.alpha7 lib/bookends/engine.rb
bookends-10.2.5.alpha6 lib/bookends/engine.rb
bookends-10.2.5.alpha5 lib/bookends/engine.rb
bookends-10.2.5.alpha4 lib/bookends/engine.rb
bookends-10.2.5.alpha3 lib/bookends/engine.rb
bookends-10.2.5.alpha2 lib/bookends/engine.rb
bookends-10.2.5.alpha lib/bookends/engine.rb
bookends-10.2.4 lib/bookends/engine.rb
bookends-10.2.3 lib/bookends/engine.rb
bookends-10.2.1 lib/bookends/engine.rb