2022-05-01 18:00:38 +02:00
|
|
|
class SiteSettingsController < ApplicationController
|
|
|
|
|
include ApplicationHelper
|
|
|
|
|
|
2024-07-12 20:38:46 +02:00
|
|
|
before_action :authenticate_admin
|
2024-01-26 17:35:00 +01:00
|
|
|
before_action :set_page_title
|
2022-05-01 18:00:38 +02:00
|
|
|
|
|
|
|
|
def general
|
|
|
|
|
end
|
|
|
|
|
|
2024-01-23 18:50:42 +01:00
|
|
|
def authentication
|
|
|
|
|
end
|
|
|
|
|
|
2022-05-08 16:36:35 +02:00
|
|
|
def boards
|
|
|
|
|
end
|
|
|
|
|
|
2022-05-01 18:00:38 +02:00
|
|
|
def post_statuses
|
|
|
|
|
end
|
2022-06-12 15:22:06 +02:00
|
|
|
|
|
|
|
|
def roadmap
|
|
|
|
|
end
|
2022-06-24 14:39:35 +02:00
|
|
|
|
2024-09-06 20:27:15 +02:00
|
|
|
def invitations
|
|
|
|
|
@invitations = Invitation.all.order(updated_at: :desc)
|
|
|
|
|
end
|
|
|
|
|
|
2024-01-23 18:50:42 +01:00
|
|
|
def appearance
|
2022-06-24 14:39:35 +02:00
|
|
|
end
|
2022-08-05 18:15:17 +02:00
|
|
|
|
2024-01-26 17:35:00 +01:00
|
|
|
private
|
|
|
|
|
|
|
|
|
|
def set_page_title
|
|
|
|
|
@page_title = t('header.menu.site_settings')
|
|
|
|
|
end
|
2022-05-01 18:00:38 +02:00
|
|
|
end
|