summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-04-23 20:41:41 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-04-23 20:41:41 -0700
commit9591f16d2a4be407768f129d08144b1c1bbf345d (patch)
tree94907ce884c1705987bed9e1f8235847ef8c3185
parent95317172ddee2ea6f18512262f481dd7f6fede8b (diff)
downloadfatcat-9591f16d2a4be407768f129d08144b1c1bbf345d.tar.gz
fatcat-9591f16d2a4be407768f129d08144b1c1bbf345d.zip
live submissions/edits
-rw-r--r--fatcat/routes.py2
-rw-r--r--fatcat/templates/base.html6
2 files changed, 4 insertions, 4 deletions
diff --git a/fatcat/routes.py b/fatcat/routes.py
index 75411da9..f6d6c4e3 100644
--- a/fatcat/routes.py
+++ b/fatcat/routes.py
@@ -79,7 +79,7 @@ def editgroup_view(ident):
return render_template('editgroup_view.html', editgroup=entity)
@app.route('/editgroup/current', methods=['GET'])
-def editgroup_current(ident):
+def editgroup_current():
eg = api.get_or_create_edit_group()
return redirect('/editgroup/{}'.format(eg.id))
diff --git a/fatcat/templates/base.html b/fatcat/templates/base.html
index f9fc809a..697705c3 100644
--- a/fatcat/templates/base.html
+++ b/fatcat/templates/base.html
@@ -34,10 +34,10 @@
<div class="ui simple dropdown item">
acidburn <i class="dropdown icon"></i>
<div class="menu">
- <a class="item" href="#">Open Submissions</a>
- <a class="item" href="#">Edit History</a>
+ <a class="item" href="/editgroup/current">Open Submissions</a>
+ <a class="item" href="/editor/admin/changelog">Edit History</a>
<div class="divider"></div>
- <a class="item" href="#">Account</a>
+ <a class="item" href="/editor/admin">Account</a>
<a class="item" href="/logout">Logout</a>
</div>
</div>