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.
48 49 50 |
# File 'lib/refinerycms-core.rb', line 48 def root @root end |
Class Method Details
.attach_to_application! ⇒ Object
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/refinerycms-core.rb', line 36 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 |