Skip to content
Snippets Groups Projects
Commit a8990336 authored by lmtd21's avatar lmtd21
Browse files

Issue #28: FIX questions order

parent dc2bca8e
No related branches found
No related tags found
1 merge request!29Issue #28: FIX questions order
Pipeline #32222 failed
......@@ -25,7 +25,7 @@ class V1::QuestionsController < ApplicationController
# GET /questions
def index
@questions = paginate Question.all
@questions = paginate Question.all.order(id: :asc)
render json: @questions
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment