Sha256: f711d315820ae9baa9e178ad5d284d9c142fd9f4feff9060e964862e3018df45
Contents?: true
Size: 1.04 KB
Versions: 34
Compression:
Stored size: 1.04 KB
Contents
module CoalescingPanda class Engine < ::Rails::Engine config.autoload_once_paths += Dir["#{config.root}/lib/**/"] isolate_namespace CoalescingPanda initializer :append_migrations do |app| unless app.root.to_s.match root.to_s config.paths["db/migrate"].expanded.each do |expanded_path| app.config.paths["db/migrate"] << expanded_path end end end initializer 'coalescing_panda.app_controller' do |app| OAUTH_10_SUPPORT = true ActiveSupport.on_load(:action_controller) do include CoalescingPanda::ControllerHelpers end end initializer 'cloaescing_panda.route_helper' do |route| ActionDispatch::Routing::Mapper.send :include, CoalescingPanda::RouteHelpers end initializer 'coalescing_panda.route_options', :after => :disable_dependency_loading do |app| ActiveSupport.on_load(:action_controller) do #force the routes to load Rails.application.reload_routes! CoalescingPanda::propagate_lti_navigation end end end end
Version data entries
34 entries across 34 versions & 1 rubygems