2022-05-01 18:00:38 +02:00
|
|
|
class SiteSettingsController < ApplicationController
|
|
|
|
|
include ApplicationHelper
|
|
|
|
|
|
2022-08-05 18:15:17 +02:00
|
|
|
before_action :authenticate_admin,
|
|
|
|
|
only: [:general, :boards, :post_statuses, :roadmap, :authentication]
|
|
|
|
|
|
|
|
|
|
before_action :authenticate_power_user,
|
|
|
|
|
only: [:users]
|
2022-05-01 18:00:38 +02:00
|
|
|
|
|
|
|
|
def general
|
|
|
|
|
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
|
|
|
|
|
|
|
|
def users
|
|
|
|
|
end
|
2022-08-05 18:15:17 +02:00
|
|
|
|
|
|
|
|
def authentication
|
|
|
|
|
end
|
2022-05-01 18:00:38 +02:00
|
|
|
end
|