Edit styling in models/user.rb
This commit is contained in:
parent
e546348ccc
commit
39a6548141
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ class User < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def proposals(conference)
|
def proposals(conference)
|
||||||
events.where('program_id = ? AND (event_users.event_role=? OR event_users.event_role=?)', conference.program.id, 'submitter', 'speaker')
|
events.where('program_id = ? AND (event_users.event_role = ? OR event_users.event_role = ?)', conference.program.id, 'submitter', 'speaker')
|
||||||
end
|
end
|
||||||
|
|
||||||
def proposal_count(conference)
|
def proposal_count(conference)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue