mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
37 lines
496 B
Ruby
37 lines
496 B
Ruby
class SiteSettingsController < ApplicationController
|
|
include ApplicationHelper
|
|
|
|
before_action :authenticate_admin
|
|
before_action :set_page_title
|
|
|
|
def general
|
|
end
|
|
|
|
def authentication
|
|
end
|
|
|
|
def boards
|
|
end
|
|
|
|
def post_statuses
|
|
end
|
|
|
|
def roadmap
|
|
end
|
|
|
|
def webhooks
|
|
end
|
|
|
|
def invitations
|
|
@invitations = Invitation.all.order(updated_at: :desc)
|
|
end
|
|
|
|
def appearance
|
|
end
|
|
|
|
private
|
|
|
|
def set_page_title
|
|
@page_title = t('header.menu.site_settings')
|
|
end
|
|
end |