aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/api/v3/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views/api/v3/common.py')
-rw-r--r--src/web/views/api/v3/common.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/web/views/api/v3/common.py b/src/web/views/api/v3/common.py
index 8831b8ba..b4e6b62e 100644
--- a/src/web/views/api/v3/common.py
+++ b/src/web/views/api/v3/common.py
@@ -3,6 +3,9 @@ from flask.ext.restless import ProcessingException
from web.controllers import ArticleController
+url_prefix = '/api/v3'
+
+
def is_authorized_to_modify(user, obj):
return user.id == obj.user_id
bgstack15