Sha256: cde6814d407284804d86a6d8d9598ca4ac002cb0418db44ee7a5bad8995f2d62
Contents?: true
Size: 818 Bytes
Versions: 25
Compression:
Stored size: 818 Bytes
Contents
require "houston/<%= name %>/railtie" module Houston module <%= camelized %> class Engine < ::Rails::Engine isolate_namespace Houston::<%= camelized %> # Precompile this modules assets initializer :assets do |config| Rails.application.config.assets.precompile += %w( houston/<%= name %>/application.js houston/<%= name %>/application.css ) end # Include the Engine's migrations with the Application # http://pivotallabs.com/leave-your-migrations-in-your-rails-engines/ 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 end end end
Version data entries
25 entries across 25 versions & 1 rubygems