Class: Site::Current

Inherits:
Site
  • Object
show all
Defined in:
app/models/site/current.rb

Class Method Summary collapse

Methods inherited from Site

current

Methods included from SocialStream::Models::Subject

#to_param

Class Method Details

.instanceObject



3
4
5
6
# File 'app/models/site/current.rb', line 3

def instance
  @instance ||=
    first || create!(name: "Social Stream powered site")
end