Class: BlogConfiguration
- Inherits:
-
Configuration
- Object
- Configuration
- BlogConfiguration
- Defined in:
- app/models/blog_configuration.rb
Class Method Summary collapse
Class Method Details
.current ⇒ Object
3 4 5 6 |
# File 'app/models/blog_configuration.rb', line 3 def self.current self.create if self.count == 0 self.first end |