Sha256: 031e28735227ed656c7004f988bf77d8e85e442ec31ac1b314d3ddaf5a7989a9
Contents?: true
Size: 1.17 KB
Versions: 80
Compression:
Stored size: 1.17 KB
Contents
module CoalescingPanda class Engine < ::Rails::Engine config.autoload_once_paths += Dir["#{config.root}/lib/**/"] isolate_namespace CoalescingPanda config.generators do |g| g.test_framework :rspec g.fixture_replacement :factory_girl, :dir => 'spec/factories' end 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
80 entries across 80 versions & 1 rubygems