Add filter by post status

This commit is contained in:
riggraz
2019-09-03 12:58:44 +02:00
parent 0618974543
commit 88096b2262
9 changed files with 320 additions and 93 deletions

View File

@@ -0,0 +1,7 @@
class PostStatusesController < ApplicationController
def index
post_statuses = PostStatus.order(order: :asc)
render json: post_statuses
end
end