Introduce Program to include cfp/rooms/tracks/events/event_types/difficulty_levels
This commit is contained in:
parent
028b82fda8
commit
444356fbc7
117 changed files with 1812 additions and 905 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