Introduce Program to include cfp/rooms/tracks/events/event_types/difficulty_levels
This commit is contained in:
parent
28e55f3f50
commit
1e27b5f593
117 changed files with 1811 additions and 904 deletions
|
|
@ -177,7 +177,7 @@ class User < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def proposals(conference)
|
||||
events.where('conference_id = ? AND event_users.event_role=?', conference.id, 'submitter')
|
||||
events.where('program_id = ? AND event_users.event_role=?', conference.program.id, 'submitter')
|
||||
end
|
||||
|
||||
def proposal_count(conference)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue