Class: Spotlight::Site
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Spotlight::Site
- Defined in:
- app/models/spotlight/site.rb
Overview
Global spotlight configuration
Class Method Summary collapse
Class Method Details
.instance ⇒ Object
13 14 15 |
# File 'app/models/spotlight/site.rb', line 13 def self.instance first || create end |