mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-13 22:23:48 -05:00
14 lines
237 B
Ruby
14 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
|