Sha256: bcf0aa61ae781314b30d29b272f9ae7bdfbaf79b097c1ee161d9523a3291eb2e
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
require 'rails/generators/base' module RailsModularAdmin module Generators class InstallGenerator < Rails::Generators::Base desc "This install generator copies over the custom-theme.scss file for you to modify to create your custom theme." source_root File.expand_path("templates", __dir__) def copy_custom_theme_file copy_file "custom-theme.scss", "app/assets/stylesheets/custom-theme.scss" end def copy_dashboard_layout copy_file "dashboard.html.erb", "app/views/layouts/dashboard.html.erb" copy_file "partials/_footer.html.erb", "app/views/layouts/partials/_footer.html.erb" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_modular_admin-1.0.0 | lib/generators/rails_modular_admin/install_generator.rb |