mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Hotfix question display
what a mess....
This commit is contained in:
parent
949c20ac21
commit
7d77495936
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