aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-19 16:43:46 +0300
committerBonfaceKilz2021-10-25 14:00:14 +0300
commit803f4c47b070ac541e9d12c76101c8c1ac267640 (patch)
tree7fb3f1068acf987e092fad9cd5ba6eb49fa9aad4 /wqflask
parent400649f6bb8d0b11e51aa1fec00d82972a785723 (diff)
downloadgenenetwork2-803f4c47b070ac541e9d12c76101c8c1ac267640.tar.gz
Rename manage_resource -> view_resource
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/resource_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/resource_manager.py b/wqflask/wqflask/resource_manager.py
index 4e160bb8..e0d2105f 100644
--- a/wqflask/wqflask/resource_manager.py
+++ b/wqflask/wqflask/resource_manager.py
@@ -136,7 +136,7 @@ unique identifiers so they aren't human readable names.
@resource_management.route("/resources/<resource_id>")
@login_required
-def manage_resource(resource_id: str):
+def view_resource(resource_id: str):
user_id = (g.user_session.record.get(b"user_id",
b"").decode("utf-8") or
g.user_session.record.get("user_id", ""))