Sha256: 3f43259218a03edb649a3d785513ec5259cf23ef83e0db41c9cbf89fe1d70802
Contents?: true
Size: 626 Bytes
Versions: 126
Compression:
Stored size: 626 Bytes
Contents
# frozen_string_literal: true require "rails/generators/named_base" module Css # :nodoc: module Generators # :nodoc: class ScaffoldGenerator < Rails::Generators::NamedBase # :nodoc: source_root Rails::Generators::ScaffoldGenerator.source_root # In order to allow the Sass generators to pick up the default Rails CSS and # transform it, we leave it in a standard location for the CSS stylesheet # generators to handle. For the simple, default case, just copy it over. def copy_stylesheet copy_file "scaffold.css", "app/assets/stylesheets/scaffold.css" end end end end
Version data entries
126 entries across 118 versions & 9 rubygems