Remove route for /portfolios

This commit is contained in:
leigh-mil
2019-12-03 14:47:55 -05:00
parent 9ef4f693eb
commit 74ff581570
6 changed files with 2 additions and 61 deletions

View File

@@ -11,16 +11,6 @@ from atst.domain.authz.decorator import user_can_access_decorator as user_can
from atst.utils.flash import formatted_flash as flash
@portfolios_bp.route("/portfolios")
def portfolios():
portfolios = Portfolios.for_user(g.current_user)
if portfolios:
return render_template("portfolios/index.html", page=5, portfolios=portfolios)
else:
return render_template("portfolios/blank_slate.html")
@portfolios_bp.route("/portfolios/new")
def new_portfolio():
form = PortfolioCreationForm()