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-2.0.0.b lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-2.0.0.a lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.8.1 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.8.0 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.32 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.31 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.30 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.29 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.28 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.27 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.26 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.25 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.24 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.23 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.22 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.21 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.20 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.19 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.18 lib/generators/express_admin/install/templates/install/installer.rb.erb
express_admin-1.7.17 lib/generators/express_admin/install/templates/install/installer.rb.erb