Class: RailsAdminMap::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- RailsAdminMap::Generators::InstallGenerator
- Defined in:
- lib/generators/rails_admin_map/install/install_generator.rb
Instance Method Summary collapse
-
#setup_route ⇒ Object
desc “Installs RailsAdminMap into your app.”.
Instance Method Details
#setup_route ⇒ Object
desc “Installs RailsAdminMap into your app.”
8 9 10 |
# File 'lib/generators/rails_admin_map/install/install_generator.rb', line 8 def setup_route route "mount RailsAdminMap::Engine => '/rails-admin-map', as: 'admin_map'" end |