show users per question
This commit is contained in:
parent
9963c1550f
commit
3b8b86eb85
4 changed files with 32 additions and 0 deletions
|
|
@ -10,6 +10,10 @@ module Admin
|
|||
@new_question = @conference.questions.new
|
||||
end
|
||||
|
||||
def show
|
||||
@registrations = @conference.registrations.joins(:qanswers).uniq
|
||||
end
|
||||
|
||||
def new
|
||||
@question = Question.new(conference_id: @conference.id)
|
||||
authorize! :create, @question
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue