mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-22 18:45:43 +09:00
11 lines
209 B
Ruby
11 lines
209 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Redirect::AccountsController < Redirect::BaseController
|
|
private
|
|
|
|
def set_resource
|
|
@resource = Account.find(params[:id])
|
|
not_found if @resource.local?
|
|
end
|
|
end
|