Sha256: 69dbceca2c971e72c1156d3e90a86321909261aaf348545707277d9c145a4adc
Contents?: true
Size: 479 Bytes
Versions: 11
Compression:
Stored size: 479 Bytes
Contents
module PufferPages class Engine < Rails::Engine config.autoload_paths << File.join(root, 'lib') initializer 'puffer_pages.add_cells_paths', :after => :add_view_paths do ::Cell::Base.prepend_view_path(Cells::DEFAULT_VIEW_PATHS.map { |path| File.join(root, path) }) end initializer 'puffer_pages.add_puffer_pages_route', :after => :add_builtin_route do |app| app.routes_reloader.paths << File.join(root, 'config/puffer_routes.rb') end end end
Version data entries
11 entries across 11 versions & 1 rubygems