Sha256: fdfb9b687b67b443ddc00bd4d64d9f75a5f9f1b6eb18e303fb954a95447d1829

Contents?: true

Size: 366 Bytes

Versions: 67

Compression:

Stored size: 366 Bytes

Contents

class <%= project_class %>::InstallGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  desc "mount <%= project_name %> engine"
  def install
    route "mount <%= project_class %>::Engine, at: <%= project_class %>::Engine.config.<%= project_name %>_mount_point"
    rake "<%= project_name %>:install:migrations"
  end

end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
express_admin-1.7.16 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.16.pre1 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.15 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.14 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.13 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.12 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.11 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.10 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.9 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.8 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.7 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.5 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.4 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.3 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.2 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.1 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.6.13 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.6.12 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.6.11 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.6.10 lib/generators/express_admin/install/templates/install/installer.rb.erb