Sha256: 83a097f6d963107809525f69d8897a960b6ba845f072ce476bcd06e43ed2407a
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 KB
Contents
require "datetime_picker_rails" require "jquery-rails" require "kaminari" require "momentjs-rails" require "normalize-rails" require "sass-rails" require "selectize-rails" require "sprockets/railtie" require "administrate/page/form" require "administrate/page/show" require "administrate/page/collection" require "administrate/order" require "administrate/resource_resolver" require "administrate/search" require "administrate/namespace" require "administrate/namespace/resource" module Administrate class Engine < ::Rails::Engine isolate_namespace Administrate @@javascripts = [] @@stylesheets = [] Engine.config.assets.precompile << %w( administrate/cancel.svg administrate/dropdown.svg administrate/search.svg administrate/sort_arrow.svg ) def self.add_javascript(script) @@javascripts << script end def self.add_stylesheet(stylesheet) @@stylesheets << stylesheet end def self.stylesheets @@stylesheets end def self.javascripts @@javascripts end add_javascript "administrate/application" add_stylesheet "administrate/application" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
administrate-0.7.0 | lib/administrate/engine.rb |