2024-01-24 10:49:19 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2024-01-25 10:44:25 +00:00
|
|
|
class Redirect::AccountsController < Redirect::BaseController
|
2024-01-24 10:49:19 +00:00
|
|
|
private
|
|
|
|
|
|
|
|
def set_resource
|
|
|
|
@resource = Account.find(params[:id])
|
|
|
|
not_found if @resource.local?
|
|
|
|
end
|
|
|
|
end
|