Sha256: c56e555fcc91fcb3a813ec71132c7c8608f88a99c97c26cf8bab385f4d89bb3f
Contents?: true
Size: 541 Bytes
Versions: 3
Compression:
Stored size: 541 Bytes
Contents
require 'rails/generators/erb/scaffold/scaffold_generator' require 'ffaker' module HotGlue class InstallGenerator < Rails::Generators::Base hook_for :form_builder, :as => :scaffold source_root File.expand_path('templates', __dir__) def initialize(*args) #:nodoc: super # copy_file "common_core.js", "app/javascript/common_core.js" # copy_file "common_core.scss", "app/assets/stylesheets/common_core.scss" copy_file "_flash_notices.haml", "app/views/layouts/_flash_notices.haml" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hot-glue-0.0.5 | lib/generators/hot_glue/install_generator.rb |
hot-glue-0.0.3 | lib/generators/hot_glue/install_generator.rb |
hot-glue-0.0.2 | lib/generators/hot_glue/install_generator.rb |