mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 05:34:04 +00:00
show only confirmed events as highlights
This commit is contained in:
parent
11d0a71231
commit
2dd326c8b9
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class Conference < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def highlights
|
||||
where(is_highlight: true)
|
||||
where(state: :confirmed, is_highlight: true)
|
||||
end
|
||||
end
|
||||
has_many :event_users, through: :events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue