Class: MoulinRouge::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- MoulinRouge::Generators::InstallGenerator
- Defined in:
- lib/generators/moulin_rouge/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_folder_structure ⇒ Object
11 12 13 14 |
# File 'lib/generators/moulin_rouge/install_generator.rb', line 11 def generate_folder_structure copy_file("initializer.rb", "config/initializers/moulin_rouge.rb") generate("moulin_rouge:permission", "user") end |