Fix model field naming
This commit is contained in:
parent
4666057748
commit
e6257a95a4
|
@ -42,7 +42,7 @@ class Bulletin
|
|||
|
||||
field :public, :type => Boolean, :default => true
|
||||
field :rss_link
|
||||
field :rss_resource
|
||||
field :rss_source
|
||||
|
||||
scope :can_display, where(is_checked: true, is_rejected: false, is_pending: false)
|
||||
scope :available_for_lang, ->(locale){ where("available_for_#{locale}".to_sym => true) }
|
||||
|
|
Loading…
Reference in New Issue