mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
- Added Site settings > Authentication section - Create/edit/delete your custom oauth2 configurations - Login or signup with oauth2
27 lines
395 B
Ruby
27 lines
395 B
Ruby
class SiteSettingsController < ApplicationController
|
|
include ApplicationHelper
|
|
|
|
before_action :authenticate_admin,
|
|
only: [:general, :boards, :post_statuses, :roadmap, :authentication]
|
|
|
|
before_action :authenticate_power_user,
|
|
only: [:users]
|
|
|
|
def general
|
|
end
|
|
|
|
def boards
|
|
end
|
|
|
|
def post_statuses
|
|
end
|
|
|
|
def roadmap
|
|
end
|
|
|
|
def users
|
|
end
|
|
|
|
def authentication
|
|
end
|
|
end |