From e74c0a422136b9205069a3f4374088f742fb9b7b Mon Sep 17 00:00:00 2001
From: Benjamin Bertrand <benjamin.bertrand@esss.se>
Date: Thu, 20 Jul 2017 11:10:59 +0200
Subject: [PATCH] Rename API main module

---
 app/api/{items.py => main.py} | 2 +-
 app/factory.py                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename app/api/{items.py => main.py} (98%)

diff --git a/app/api/items.py b/app/api/main.py
similarity index 98%
rename from app/api/items.py
rename to app/api/main.py
index c33c91c..a53978e 100644
--- a/app/api/items.py
+++ b/app/api/main.py
@@ -3,7 +3,7 @@
 app.api.items
 ~~~~~~~~~~~~~
 
-This module implements the items API.
+This module implements the application API.
 
 :copyright: (c) 2017 European Spallation Source ERIC
 :license: BSD 2-Clause, see LICENSE for more details.
diff --git a/app/factory.py b/app/factory.py
index caa92ca..66b20c2 100644
--- a/app/factory.py
+++ b/app/factory.py
@@ -17,7 +17,7 @@ from .models import User, Role, Action, Manufacturer, Model, Location, Status
 from .admin.views import AdminModelView, ItemAdmin
 from .main.views import bp as main
 from .users.views import bp as users
-from .api.items import bp as api
+from .api.main import bp as api
 from .defaults import defaults
 
 
-- 
GitLab