Class: Spotlight::Site

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/spotlight/site.rb

Overview

Global spotlight configuration

Class Method Summary collapse

Class Method Details

.instanceObject



15
16
17
# File 'app/models/spotlight/site.rb', line 15

def self.instance
  first || create
end