Class: Site
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Site
- Includes:
- SocialStream::Models::Subject
- Defined in:
- app/models/site.rb
Overview
Site is used to store the global configuration. Example:
Site.config[:host] = 'example.com'
Site.save!
Direct Known Subclasses
Defined Under Namespace
Classes: Current
Class Method Summary collapse
Methods included from SocialStream::Models::Subject
Class Method Details
.current ⇒ Object
11 12 13 |
# File 'app/models/site.rb', line 11 def current ::Site::Current.instance end |