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



13
14
15
# File 'app/models/spotlight/site.rb', line 13

def self.instance
  first || create
end