mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
30 lines
431 B
Ruby
30 lines
431 B
Ruby
class SiteSettingsController < ApplicationController
|
|
include ApplicationHelper
|
|
|
|
before_action :authenticate_admin,
|
|
only: [:general, :authentication, :boards, :post_statuses, :roadmap, :appearance]
|
|
|
|
before_action :authenticate_moderator,
|
|
only: [:users]
|
|
|
|
def general
|
|
end
|
|
|
|
def authentication
|
|
end
|
|
|
|
def boards
|
|
end
|
|
|
|
def post_statuses
|
|
end
|
|
|
|
def roadmap
|
|
end
|
|
|
|
def appearance
|
|
end
|
|
|
|
def users
|
|
end
|
|
end |