Files
astuto/app/controllers/static_pages_controller.rb
2022-07-18 10:47:54 +02:00

23 lines
516 B
Ruby

class StaticPagesController < ApplicationController
skip_before_action :load_tenant_data, only: [:showcase, :pending_tenant, :blocked_tenant]
def roadmap
@post_statuses = PostStatus
.find_roadmap
.select(:id, :name, :color)
@posts = Post
.find_with_post_status_in(@post_statuses)
.select(:id, :title, :board_id, :post_status_id, :user_id, :created_at)
end
def showcase
render html: 'Showcase home page.'
end
def pending_tenant
end
def blocked_tenant
end
end