api check call

This commit is contained in:
Dmitriy Zaporozhets 2013-02-05 15:55:49 +02:00
parent 478570dc32
commit bd3288e320

View file

@ -32,6 +32,12 @@ module Gitlab
key = Key.find(params[:key_id])
present key.user, with: Entities::User
end
get "/check" do
{
api_version: '3'
}
end
end
end
end