Module: Refinery::Core
- Defined in:
- lib/refinerycms-core.rb
Defined Under Namespace
Classes: Engine
Class Attribute Summary collapse
-
.root ⇒ Object
Returns the value of attribute root.
Class Method Summary collapse
Class Attribute Details
.root ⇒ Object
Returns the value of attribute root.
40 41 42 |
# File 'lib/refinerycms-core.rb', line 40 def root @root end |
Class Method Details
.attach_to_application! ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/refinerycms-core.rb', line 28 def attach_to_application! ::Rails::Application.subclasses.each do |subclass| begin subclass.send :include, ::Refinery::Application rescue $stdout.puts "Refinery CMS couldn't attach to #{subclass.name}." $stdout.puts "Error was: #{$!.}" $stdout.puts $!.backtrace end end end |