Sha256: 49c18f0bf141a4f00e3684a912b6f421a4439ac3ddb717cf6865b0e87113b122
Contents?: true
Size: 656 Bytes
Versions: 2
Compression:
Stored size: 656 Bytes
Contents
module Leather class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../../../../../templates/', __FILE__) def copy_views directory("views/devise", Rails.root.join("app", "views", "devise")) end def copy_ui_kit directory("views/pages", Rails.root.join("app", "views", "pages")) end def copy_ui_kit_styles copy_file("bootstrap_variables.css.scss", Rails.root.join("app", "assets", "stylesheets", "bootstrap_variables.css.scss")) end def copy_high_voltage_config copy_file("high_voltage.rb", Rails.root.join("config", "initializers", "high_voltage.rb")) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
leather-0.2.22 | lib/generators/leather/install/install_generator.rb |
leather-0.2.21 | lib/generators/leather/install/install_generator.rb |