Hotfix question display
what a mess....
This commit is contained in:
parent
5765dd1242
commit
3578953b1e
2 changed files with 9 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue