Merge 0fdef06ebf into 137d997793
This commit is contained in:
commit
b2f9b6790a
6 changed files with 112 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue