From 8924ebffffceb5869622e0c73cda90779750c881 Mon Sep 17 00:00:00 2001 From: Sven Fuchs Date: Thu, 27 Sep 2012 21:58:24 +0200 Subject: [PATCH] it is service, not services --- lib/travis/api/app/endpoint/users.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/travis/api/app/endpoint/users.rb b/lib/travis/api/app/endpoint/users.rb index 0d52d0e7..ac3e4feb 100644 --- a/lib/travis/api/app/endpoint/users.rb +++ b/lib/travis/api/app/endpoint/users.rb @@ -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