Class: ForestLiana::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ForestLiana::InstallGenerator
- Defined in:
- lib/generators/forest_liana/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/generators/forest_liana/install_generator.rb', line 7 def install jwt_signing_key = ask('What\'s your project secret key?') route("mount ForestLiana::Engine => '/forest'") initializer 'forest_liana.rb' do "ForestLiana.jwt_signing_key = '#{jwt_signing_key}'" end end |