Class: Seorel::Seorel
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Seorel::Seorel
- Includes:
- Globalize
- Defined in:
- lib/seorel/seorel.rb
Instance Method Summary collapse
Instance Method Details
#admin_label ⇒ Object
21 22 23 |
# File 'lib/seorel/seorel.rb', line 21 def admin_label I18n.t('seorel.admin.label') end |
#description? ⇒ Boolean
13 14 15 |
# File 'lib/seorel/seorel.rb', line 13 def description? description.present? end |
#image? ⇒ Boolean
17 18 19 |
# File 'lib/seorel/seorel.rb', line 17 def image? image.present? end |
#title? ⇒ Boolean
9 10 11 |
# File 'lib/seorel/seorel.rb', line 9 def title? title.present? end |