Sha256: 53aab9746b8da60b44b5e76bcc1037f877a08b6e9e8c8b2d5504ee3b9c588e48
Contents?: true
Size: 601 Bytes
Versions: 9
Compression:
Stored size: 601 Bytes
Contents
require 'rails/generators' module SimpleAdmin class AssetsGenerator < Rails::Generators::Base desc <<-CONTENT This will install the admin assets into your public \ folder. If you want to move these files you can adjust \ your config/initializer/simple_admin.rb and modify the \ config.javascripts and config.stylesheets. \ \ The default theme comes from ActiveAdmin. CONTENT def self.source_root File.join(File.dirname(__FILE__), '..', '..', '..', '..', '..') end def copy_assets_folder directory 'app/assets', 'public' end end end
Version data entries
9 entries across 9 versions & 1 rubygems