Sha256: 4ffb4b676fed81ac7381a4db69f81e606258877afb2d226a0027c557d159ef6e

Contents?: true

Size: 120 Bytes

Versions: 1

Compression:

Stored size: 120 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
happy_seed-0.0.21 lib/generators/happy_seed/simple_cms/templates/app/models/simple_content.rb