2 class VersionsController < ApiController
3 skip_before_action :check_api_readable
4 authorize_resource :class => false
6 before_action :set_request_formats
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]