From 20149268098051f62f402882e911f2b6475cb9da Mon Sep 17 00:00:00 2001 From: George Drummond Date: Wed, 17 Apr 2019 13:56:24 -0400 Subject: [PATCH] Don't need to pass portfolio to the template --- atst/routes/portfolios/applications.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/atst/routes/portfolios/applications.py b/atst/routes/portfolios/applications.py index 836fec88..429b0fe2 100644 --- a/atst/routes/portfolios/applications.py +++ b/atst/routes/portfolios/applications.py @@ -154,7 +154,6 @@ def permission_str(member, edit_perm_set): @portfolios_bp.route("/portfolios//applications//team") @user_can(Permissions.VIEW_APPLICATION, message="view portfolio applications") def application_team(portfolio_id, application_id): - portfolio = Portfolios.get(g.current_user, portfolio_id) application = Applications.get( resource_id=application_id, portfolio_id=portfolio_id ) @@ -182,6 +181,5 @@ def application_team(portfolio_id, application_id): return render_template( "portfolios/applications/team.html", application=application, - portfolio=portfolio, environment_users=environment_users, )