diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-19 01:51:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-19 01:51:04 +0200 |
commit | f3be6052867343ab15cc84bc91edcaf0c1d70115 (patch) | |
tree | 2bddc48a4cf35a0684c74b22a0f78f7031b8a4b2 /app/controllers/api | |
parent | aebebdc5d1967e2110a9caafc3238c8b8ec055c4 (diff) |
Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
Rename Activitypub to ActivityPub
Diffstat (limited to 'app/controllers/api')
-rw-r--r-- | app/controllers/api/activitypub/activities_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/api/activitypub/notes_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/api/activitypub/outbox_controller.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/api/activitypub/activities_controller.rb b/app/controllers/api/activitypub/activities_controller.rb index 740c8589a..a880ee92f 100644 --- a/app/controllers/api/activitypub/activities_controller.rb +++ b/app/controllers/api/activitypub/activities_controller.rb @@ -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] diff --git a/app/controllers/api/activitypub/notes_controller.rb b/app/controllers/api/activitypub/notes_controller.rb index 783c1c4ed..96652b879 100644 --- a/app/controllers/api/activitypub/notes_controller.rb +++ b/app/controllers/api/activitypub/notes_controller.rb @@ -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 diff --git a/app/controllers/api/activitypub/outbox_controller.rb b/app/controllers/api/activitypub/outbox_controller.rb index 0738d7dee..1af04cb54 100644 --- a/app/controllers/api/activitypub/outbox_controller.rb +++ b/app/controllers/api/activitypub/outbox_controller.rb @@ -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 |