Class: SimpleContent

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
lib/generators/happy_seed/simple_cms/templates/app/models/simple_content.rb

Class Method Summary collapse

Class Method Details

.faqsObject



2
3
4
# File 'lib/generators/happy_seed/simple_cms/templates/app/models/simple_content.rb', line 2

def self.faqs
  where( "key like 'faq.%'").order( "priority asc")
end