Redirect to /courses instead of /info

This commit is contained in:
Matthew Mongeau
2012-06-21 11:02:50 -04:00
parent 4239a0b308
commit 9202c1e2cc

View File

@@ -38,7 +38,7 @@ def index(request):
''' Redirects to main page -- info page if user authenticated, or marketing if not
'''
if settings.COURSEWARE_ENABLED and request.user.is_authenticated():
return redirect('/info')
return redirect('/courses')
else:
csrf_token = csrf(request)['csrf_token']
# TODO: Clean up how 'error' is done.