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