Class: Site::Current
- Defined in:
- app/models/site/current.rb
Class Method Summary collapse
Methods inherited from Site
Methods included from SocialStream::Models::Subject
Class Method Details
.instance ⇒ Object
3 4 5 6 |
# File 'app/models/site/current.rb', line 3 def instance @instance ||= first || create!(name: "Social Stream powered site") end |