diff options
Diffstat (limited to 'app/controllers/api')
-rw-r--r-- | app/controllers/api/v1/accounts_controller.rb (renamed from app/controllers/api/accounts_controller.rb) | 2 | ||||
-rw-r--r-- | app/controllers/api/v1/apps_controller.rb (renamed from app/controllers/api/apps_controller.rb) | 2 | ||||
-rw-r--r-- | app/controllers/api/v1/follows_controller.rb (renamed from app/controllers/api/follows_controller.rb) | 2 | ||||
-rw-r--r-- | app/controllers/api/v1/media_controller.rb (renamed from app/controllers/api/media_controller.rb) | 2 | ||||
-rw-r--r-- | app/controllers/api/v1/statuses_controller.rb (renamed from app/controllers/api/statuses_controller.rb) | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/app/controllers/api/accounts_controller.rb b/app/controllers/api/v1/accounts_controller.rb index 490c28e75..23f48782f 100644 --- a/app/controllers/api/accounts_controller.rb +++ b/app/controllers/api/v1/accounts_controller.rb @@ -1,4 +1,4 @@ -class Api::AccountsController < ApiController +class Api::V1::AccountsController < ApiController before_action :doorkeeper_authorize! before_action :set_account respond_to :json diff --git a/app/controllers/api/apps_controller.rb b/app/controllers/api/v1/apps_controller.rb index 629cb2416..f7a5e0b0a 100644 --- a/app/controllers/api/apps_controller.rb +++ b/app/controllers/api/v1/apps_controller.rb @@ -1,4 +1,4 @@ -class Api::AppsController < ApplicationController +class Api::V1::AppsController < ApplicationController respond_to :json def create diff --git a/app/controllers/api/follows_controller.rb b/app/controllers/api/v1/follows_controller.rb index dbd44cc54..de006f671 100644 --- a/app/controllers/api/follows_controller.rb +++ b/app/controllers/api/v1/follows_controller.rb @@ -1,4 +1,4 @@ -class Api::FollowsController < ApiController +class Api::V1::FollowsController < ApiController before_action :doorkeeper_authorize! respond_to :json diff --git a/app/controllers/api/media_controller.rb b/app/controllers/api/v1/media_controller.rb index d5a0a124a..4896534ad 100644 --- a/app/controllers/api/media_controller.rb +++ b/app/controllers/api/v1/media_controller.rb @@ -1,4 +1,4 @@ -class Api::MediaController < ApiController +class Api::V1::MediaController < ApiController before_action :doorkeeper_authorize! respond_to :json diff --git a/app/controllers/api/statuses_controller.rb b/app/controllers/api/v1/statuses_controller.rb index 44fb40bae..4196852f2 100644 --- a/app/controllers/api/statuses_controller.rb +++ b/app/controllers/api/v1/statuses_controller.rb @@ -1,4 +1,4 @@ -class Api::StatusesController < ApiController +class Api::V1::StatusesController < ApiController before_action :doorkeeper_authorize! respond_to :json |