summaryrefslogtreecommitdiff
path: root/lib/api/version.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/version.rb')
-rw-r--r--lib/api/version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/version.rb b/lib/api/version.rb
index 9ba576bd828..3b10bfa6a7d 100644
--- a/lib/api/version.rb
+++ b/lib/api/version.rb
@@ -6,7 +6,7 @@ module API
detail 'This feature was introduced in GitLab 8.13.'
end
get '/version' do
- { version: Gitlab::VERSION, revision: Gitlab::REVISION }
+ { version: Gitlab::VERSION, revision: Gitlab.revision }
end
end
end