Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cleaning-portalmec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Richard Fernando Heise Ferreira
cleaning-portalmec
Commits
562a5ea9
Commit
562a5ea9
authored
2 years ago
by
Richard Fernando Heise Ferreira
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue/28-fix-questions-order' into 'develop'
Issue
#28
: FIX questions order See merge request rfhf19/cleanning-portalmec!29
parents
dc2bca8e
a8990336
No related branches found
No related tags found
1 merge request
!29
Issue #28: FIX questions order
Pipeline
#32223
failed
2 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/controllers/v1/questions_controller.rb
+1
-1
1 addition, 1 deletion
app/controllers/v1/questions_controller.rb
with
1 addition
and
1 deletion
app/controllers/v1/questions_controller.rb
+
1
−
1
View file @
562a5ea9
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment