Style
This commit is contained in:
parent
2e692f7ea5
commit
01086813af
37 changed files with 221 additions and 190 deletions
|
|
@ -7,7 +7,7 @@ module Api
|
|||
if params[:conference_id].blank?
|
||||
conferences = Conference.all
|
||||
else
|
||||
conferences = Conference.find_all_by_guid(params[:conference_id])
|
||||
conferences = Conference.find_by(short_title: params[:conference_id])
|
||||
end
|
||||
render json: conferences, serializer: ConferencesArraySerializer
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue