Class: Cream::Generators::AppGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Cream::Generators::AppGenerator
- Extended by:
- RailsAssist::UseMacro
- Includes:
- Cream::GeneratorHelper
- Defined in:
- lib/generators/cream/app/app_generator.rb
Instance Method Summary collapse
Methods included from Cream::GeneratorHelper
#add_logger, #debug!, included, #info!, #logit!
Instance Method Details
#configure_application ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/generators/cream/app/app_generator.rb', line 18 def configure_application logit! app_orm unless active_record? set_orm app_routes app_layout create_guest_user if guest_user? end |