Sha256: 0a70224eeeba0956b9f5459c67231cc3c1113cf8feee61b0968727fa713d0bbe
Contents?: true
Size: 507 Bytes
Versions: 7
Compression:
Stored size: 507 Bytes
Contents
require_relative '../../app/helpers/bookends/application_helper' 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
7 entries across 7 versions & 1 rubygems