Module: MuckContents
- Defined in:
- lib/muck-contents/models/content.rb,
lib/muck-contents.rb,
lib/muck-contents/config.rb,
lib/muck-contents/engine.rb,
lib/muck-contents/routes.rb,
lib/muck-contents/rack/rack.rb,
lib/muck-contents/models/contentable.rb,
lib/muck-contents/models/content_permission.rb,
lib/muck-contents/models/content_translation.rb,
lib/muck-contents/controllers/content_handler.rb
Overview
include MuckContents::Models::MuckContentHandler
Defined Under Namespace
Modules: Models, Routes, Routing Classes: Configuration, Engine
Constant Summary collapse
- GLOBAL_SCOPE =
'/'
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
3 4 5 6 |
# File 'lib/muck-contents/config.rb', line 3 def self.configuration # In case the user doesn't setup a configure block we can always return default settings: @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
8 9 10 11 |
# File 'lib/muck-contents/config.rb', line 8 def self.configure self.configuration ||= Configuration.new yield(configuration) end |