aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/web.py
diff options
context:
space:
mode:
authorMayank Choudhary <7mayankchoudhary7@gmail.com>2020-11-25 02:52:46 +0530
committerGitHub <noreply@github.com>2020-11-24 22:22:46 +0100
commit6ec7dd607752dc750481d03ccba1e77af3f5711a (patch)
tree3048d5816821b08d46e3275dc58d737def79cb4b /ihatemoney/web.py
parent8a5193f4433703e5f343b1f91a66bb3745473717 (diff)
downloadihatemoney-mirror-6ec7dd607752dc750481d03ccba1e77af3f5711a.zip
ihatemoney-mirror-6ec7dd607752dc750481d03ccba1e77af3f5711a.tar.gz
ihatemoney-mirror-6ec7dd607752dc750481d03ccba1e77af3f5711a.tar.bz2
Added a page for downloading mobile application (#688)
Fixes #597 Fixes #697 Co-authored-by: Glandos <bugs-github@antipoul.fr>
Diffstat (limited to 'ihatemoney/web.py')
-rw-r--r--ihatemoney/web.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ihatemoney/web.py b/ihatemoney/web.py
index 442779f..6e4a209 100644
--- a/ihatemoney/web.py
+++ b/ihatemoney/web.py
@@ -269,6 +269,11 @@ def home():
session=session,
)
+@main.route("/mobile")
+def mobile():
+ return render_template(
+ "download_mobile_app.html"
+ )
@main.route("/create", methods=["GET", "POST"])
@requires_admin(bypass=("ALLOW_PUBLIC_PROJECT_CREATION", True))