diff --git a/app/main/routes.py b/app/main/routes.py index a5c8c69..c1164e8 100644 --- a/app/main/routes.py +++ b/app/main/routes.py @@ -62,6 +62,11 @@ def explore(): posts=posts.items, next_url=next_url, prev_url=prev_url) +@bp.route('/trade') +@login_required +def trade(): + return render_template('trade.html', title=_('Trade')) + @bp.route('/user/') @login_required diff --git a/app/templates/base.html b/app/templates/base.html index eacee92..6f54d79 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -20,6 +20,7 @@ {% if g.search_form %} +{% endblock %}