Class: Delayed::Web::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Delayed::Web::InstallGenerator
- Defined in:
- lib/generators/delayed/web/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/generators/delayed/web/install_generator.rb', line 7 def install template 'initializer.rb', 'config/initializers/delayed_web.rb' route 'mount Delayed::Web::Engine, at: \'/jobs\'' if assets? application "config.assets.precompile << 'delayed/web/application.css'" end end |