summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDrew Blessing <drew@gitlab.com>2016-06-27 14:38:57 -0500
committerDrew Blessing <drew@gitlab.com>2016-06-27 14:42:05 -0500
commit1910fd05aec4c04adf82e8dc10c6404d9afb63f3 (patch)
tree38172dc6db31644254dd3b5a19eb6e364f170525 /lib
parente4dacb353edf6129897d1bbfa3977da9487fa78c (diff)
downloadgitlab-ce-1910fd05aec4c04adf82e8dc10c6404d9afb63f3.tar.gz
Rename Licenses API to License Templates API
Diffstat (limited to 'lib')
-rw-r--r--lib/api/api.rb2
-rw-r--r--lib/api/license_templates.rb (renamed from lib/api/licenses.rb)4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/api/api.rb b/lib/api/api.rb
index f8f680a6311..c3fff8b2f8f 100644
--- a/lib/api/api.rb
+++ b/lib/api/api.rb
@@ -39,7 +39,7 @@ module API
mount ::API::Issues
mount ::API::Keys
mount ::API::Labels
- mount ::API::Licenses
+ mount ::API::LicenseTemplates
mount ::API::MergeRequests
mount ::API::Milestones
mount ::API::Namespaces
diff --git a/lib/api/licenses.rb b/lib/api/license_templates.rb
index be0e113fbcb..d0552299ed0 100644
--- a/lib/api/licenses.rb
+++ b/lib/api/license_templates.rb
@@ -1,6 +1,6 @@
module API
- # Licenses API
- class Licenses < Grape::API
+ # License Templates API
+ class LicenseTemplates < Grape::API
PROJECT_TEMPLATE_REGEX =
/[\<\{\[]
(project|description|