it is service, not services

This commit is contained in:
Sven Fuchs 2012-09-27 21:58:24 +02:00
parent 81022ea7b4
commit 8924ebffff

View File

@ -23,13 +23,13 @@ class Travis::Api::App
end
put '/:id?', scope: :private do
services(:user).update_locale(locale)
service(:user).update_locale(locale)
204
end
# TODO: Add implementation and documentation.
post '/sync', scope: :private do
services(:user).sync
service(:user).sync
204
end