rename accounts service
This commit is contained in:
parent
3af9670190
commit
5321943dfd
|
@ -40,7 +40,7 @@ GIT
|
|||
|
||||
GIT
|
||||
remote: git://github.com/travis-ci/travis-core.git
|
||||
revision: 1cb16721e43b4beb4dc8152176022a981d0de1c9
|
||||
revision: e70720c28f47dad3e3accb3d61e7da9c3e7e0d48
|
||||
branch: sf-travis-api
|
||||
specs:
|
||||
travis-core (0.0.1)
|
||||
|
|
|
@ -4,7 +4,7 @@ class Travis::Api::App
|
|||
class Endpoint
|
||||
class Accounts < Endpoint
|
||||
get '/', scope: :private do
|
||||
respond_with service(:accounts, :find_all, params), type: :accounts
|
||||
respond_with service(:users, :find_accounts, params), type: :accounts
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -27,6 +27,11 @@ class Travis::Api::App
|
|||
respond_with service(:users, :find_permissions), type: :permissions
|
||||
end
|
||||
|
||||
# TODO fix url/key generation in ember-data
|
||||
# get '/accounts', scope: :private do
|
||||
# respond_with service(:users, :find_accounts), type: :accounts
|
||||
# end
|
||||
|
||||
# TODO fix url/key generation in ember-data
|
||||
# get '/broadcasts', scope: :private do
|
||||
# respond_with service(:users, :find_broadcasts), type: :broadcasts
|
||||
|
|
Loading…
Reference in New Issue
Block a user