Add load org before request to allow current_org to be accessible from request context

This commit is contained in:
Ken Tsang
2018-02-13 16:40:04 +00:00
committed by chrisw
parent 96b66829a1
commit c1e3658a8f
5 changed files with 28 additions and 8 deletions

View File

@@ -8,8 +8,7 @@
<div id="content">
<div class="navigation-service">
<div class="navigation-service-name">
{{ current_service.name }}
Hello
{{ current_org.name }}
</div>
<a href="{{ url_for('main.choose_service') }}" class="navigation-service-switch">Switch service</a>
</div>