This commit is contained in:
Vidit 2018-03-14 21:34:28 +00:00 • committed by GitHub
commit b2f9b6790a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 112 additions and 0 deletions

View file

@ -59,6 +59,11 @@ class ConferencesController < ApplicationController
end
end
def user_proposals
event_types = EventType.where(title: 'Talk').collect(&:id)
@events = Event.includes(program: :conference).where(event_type_id: event_types).order(created_at: :desc)
end
private
def conference_finder_conditions