Class: Administrate::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Administrate::Engine
- Defined in:
- lib/administrate/engine.rb
Constant Summary collapse
- @@javascripts =
[]
- @@stylesheets =
[]
Class Method Summary collapse
- .add_javascript(script) ⇒ Object
- .add_stylesheet(stylesheet) ⇒ Object
- .javascripts ⇒ Object
- .stylesheets ⇒ Object
Class Method Details
.add_javascript(script) ⇒ Object
25 26 27 |
# File 'lib/administrate/engine.rb', line 25 def self.add_javascript(script) @@javascripts << script end |
.add_stylesheet(stylesheet) ⇒ Object
29 30 31 |
# File 'lib/administrate/engine.rb', line 29 def self.add_stylesheet(stylesheet) @@stylesheets << stylesheet end |
.javascripts ⇒ Object
37 38 39 |
# File 'lib/administrate/engine.rb', line 37 def self.javascripts @@javascripts end |
.stylesheets ⇒ Object
33 34 35 |
# File 'lib/administrate/engine.rb', line 33 def self.stylesheets @@stylesheets end |