diff --git a/lib/travis/api/app/endpoint.rb b/lib/travis/api/app/endpoint.rb index 77a5abda..20c5822c 100644 --- a/lib/travis/api/app/endpoint.rb +++ b/lib/travis/api/app/endpoint.rb @@ -6,7 +6,7 @@ class Travis::Api::App class Endpoint < Responder set(:prefix) { "/" << name[/[^:]+$/].underscore } set disable_root_endpoint: false - register :scoping, :services + register :scoping helpers :services, :current_user before { content_type :json } diff --git a/lib/travis/api/app/extensions/services.rb b/lib/travis/api/app/extensions/services.rb deleted file mode 100644 index fcc30c0e..00000000 --- a/lib/travis/api/app/extensions/services.rb +++ /dev/null @@ -1,8 +0,0 @@ -require 'travis/api/app' - -class Travis::Api::App - module Extensions - module Services - end - end -end