Class: SiteMetaTags
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- SiteMetaTags
- Defined in:
- app/models/site_meta_tags.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.default_tags ⇒ Object
9 10 11 |
# File 'app/models/site_meta_tags.rb', line 9 def self. where(identifier: :default).first end |
Instance Method Details
#identifier_text ⇒ Object
13 14 15 |
# File 'app/models/site_meta_tags.rb', line 13 def identifier_text identifier == 'default' ? 'Тэги по умолчанию' : identifier end |