Sha256: f0c870c844997c403581c6faff730cdeb83d9266c4131216098dd33c00f84c03
Contents?: true
Size: 960 Bytes
Versions: 9
Compression:
Stored size: 960 Bytes
Contents
require "datetime_picker_rails" require "jquery-rails" require "kaminari" require "momentjs-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 = [] 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
9 entries across 9 versions & 2 rubygems