Commit f1e574eb authored by Sergios Aftsidis's avatar Sergios Aftsidis

Fix previous commit\

parent 7c010f23
......@@ -88,6 +88,7 @@ def welcome(request):
@never_cache
def dashboard(request):
all_group_routes = []
message = ''
try:
peers = request.user.get_profile().peers.select_related('user_profile')
except UserProfile.DoesNotExist:
......@@ -115,7 +116,7 @@ def dashboard(request):
request,
'dashboard.html',
{
'message': 'You have not added any rules yet'
'message': message
}
)
return render(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment