Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
administrate / lib / generators / administrate / assets / stylesheets_generator.rb
Size: Mime:
require "rails/generators/base"

module Administrate
  module Generators
    module Assets
      class StylesheetsGenerator < Rails::Generators::Base
        STYLESHEETS_PATH = "app/assets/stylesheets/administrate"

        source_root File.expand_path("../../../../../", __FILE__)

        def copy_stylesheets
          directory STYLESHEETS_PATH, STYLESHEETS_PATH
        end
      end
    end
  end
end