mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Only confirmed events in JSON API
This commit is contained in:
parent
08637503e5
commit
7f3c8a65de
2 changed files with 3 additions and 1 deletions
|
|
@ -6,6 +6,6 @@ class Api::V1::EventsController < Api::BaseController
|
|||
unless params[:conference_id].blank?
|
||||
events = events.where("conferences.guid" => params[:conference_id])
|
||||
end
|
||||
respond_with events
|
||||
respond_with events.confirmed
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue