mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Roadmap now shows requested post statuses in order
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
class StaticPagesController < ApplicationController
|
||||
def roadmap
|
||||
@post_statuses = PostStatus.select(:id, :name, :color)
|
||||
@post_statuses = PostStatus
|
||||
.select(:id, :name, :color)
|
||||
.where(show_in_roadmap: true)
|
||||
.order(order: :asc)
|
||||
|
||||
@posts = Post
|
||||
.select(:id, :title, :board_id, :post_status_id, :user_id, :created_at)
|
||||
|
||||
Reference in New Issue
Block a user