Sha256: 403388b7bda28f5db5ff18445726a2b67ecc53c68f6a094ef526fa72bb3f554d

Contents?: true

Size: 1.16 KB

Versions: 33

Compression:

Stored size: 1.16 KB

Contents

# frozen_string_literal: true

# Manipulate images with minimal use of memory via ImageMagick / GraphicsMagick
#
# exe/rag addons/mini_magick

self.local_template_path = File.dirname(__FILE__)

gac 'base rails 7 image created'

prepare_environment

add_controller('home', 'index')
route("root 'home#index'")

force_copy

copy_file 'app/controllers/home_controller.rb'            , 'app/controllers/home_controller.rb'
copy_file 'app/views/home/index.html.erb'                 , 'app/views/home/index.html.erb'

copy_file 'app/views/layouts/_alerts.html.erb'            , 'app/views/layouts/_alerts.html.erb'
copy_file 'app/views/layouts/_navbar.html.erb'            , 'app/views/layouts/_navbar.html.erb'
copy_file 'app/views/layouts/_footer.html.erb'            , 'app/views/layouts/_footer.html.erb'
template  'app/views/layouts/application.html.erb'        , 'app/views/layouts/application.html.erb'

copy_file 'app/assets/images/cat1.jpg'                           , 'app/assets/images/cat1.jpg'
copy_file 'app/assets/images/cat2.jpg'                           , 'app/assets/images/cat2.jpg'
copy_file 'app/assets/images/cat3.jpg'                           , 'app/assets/images/cat3.jpg'

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.3.5 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.3.4 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.3.3 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.3.2 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.3.1 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.3.0 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.43 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.42 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.41 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.40 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.39 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.38 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.37 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.36 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.35 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.34 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.33 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.32 after_templates/addons/mini_magick/_.rb
rails_app_generator-0.2.31 after_templates/addons/mini_magick/_.rb