2 class VersionsController < ApiController
3 authorize_resource :class => false
5 around_action :api_call_handle_error, :api_call_timeout
7 # Show the list of available API versions. This will replace the global
8 # unversioned capabilities call in due course.
9 # Currently we only support deploying one version at a time, but this will
10 # hopefully change soon.
12 @versions = [Settings.api_version]