Hotfix question display

what a mess....
This commit is contained in:
Henne Vogelsang 2016-05-25 14:40:45 +02:00
parent 949c20ac21
commit 7d77495936
2 changed files with 9 additions and 8 deletions

View file

@ -5,7 +5,7 @@ module Admin
def index
authorize! :index, Question.new(conference_id: @conference.id)
@questions = Question.where(global: true).all | Question.where(conference_id: @conference.id)
@questions = Question.where(global: true) | @conference.questions
@questions_conference = @conference.questions
@new_question = @conference.questions.new
end