mirror of
https://github.com/glitch-soc/mastodon
synced 2025-04-24 21:14:51 +00:00
13 lines
237 B
Ruby
13 lines
237 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Settings::BaseController < ApplicationController
|
|
layout 'admin'
|
|
|
|
before_action :authenticate_user!
|
|
|
|
private
|
|
|
|
def require_not_suspended!
|
|
forbidden if current_account.unavailable?
|
|
end
|
|
end
|