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

Issue #28: FIX questions order

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