Sha256: 2d74857f41c87094be31ef1aadf03d1e91f235450f460c122a31abd7140520f5
Contents?: true
Size: 746 Bytes
Versions: 4
Compression:
Stored size: 746 Bytes
Contents
<%= wrap_in_modules <<-rb.strip_heredoc class Engine < ::Rails::Engine #{mountable? ? ' isolate_namespace ' + camelized_modules : ' '} #{api? ? " config.generators.api_only = true" : ' '} # Initialize engine dependencies on wrapper application Gem.loaded_specs["#{ name }"].dependencies.each do |d| begin require d.name rescue LoadError => e # Put exceptions here. end end # Uncomment if migrations need to be shared # 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 rb %>
Version data entries
4 entries across 4 versions & 1 rubygems