0
0
Fork 0

Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)

Rename Activitypub to ActivityPub
This commit is contained in:
Eugen Rochko 2017-06-19 01:51:04 +02:00 committed by GitHub
parent aebebdc5d1
commit f3be605286
20 changed files with 25 additions and 24 deletions

View file

@ -1,6 +1,6 @@
# frozen_string_literal: true
class Api::Activitypub::ActivitiesController < Api::BaseController
class Api::ActivityPub::ActivitiesController < Api::BaseController
include Authorization
# before_action :set_follow, only: [:show_follow]

View file

@ -1,6 +1,6 @@
# frozen_string_literal: true
class Api::Activitypub::NotesController < Api::BaseController
class Api::ActivityPub::NotesController < Api::BaseController
include Authorization
before_action :set_status

View file

@ -1,6 +1,6 @@
# frozen_string_literal: true
class Api::Activitypub::OutboxController < Api::BaseController
class Api::ActivityPub::OutboxController < Api::BaseController
before_action :set_account
respond_to :activitystreams2

View file

@ -40,7 +40,7 @@ class AuthorizeFollowsController < ApplicationController
end
def account_from_remote_follow
FollowRemoteAccountService.new.call(acct_without_prefix)
ResolveRemoteAccountService.new.call(acct_without_prefix)
end
def acct_param_is_url?