Class: Refinery::PageImagesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Refinery::PageImagesGenerator
- Defined in:
- lib/generators/refinery/page_images_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_page_images_initializer ⇒ Object
10 11 12 |
# File 'lib/generators/refinery/page_images_generator.rb', line 10 def generate_page_images_initializer template "config/initializers/refinery/page_images.rb.erb", File.join(destination_root, "config", "initializers", "refinery", "page_images.rb") end |
#rake_db ⇒ Object
6 7 8 |
# File 'lib/generators/refinery/page_images_generator.rb', line 6 def rake_db rake("refinery_page_images:install:migrations") end |