Skip to content

Commit

Permalink
Update build_routes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanheemstra authored Nov 20, 2024
1 parent 5fb911f commit e41b464
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ def edit_build(build_id):
return render_template("build/edit_build.html", form=form, build=build)


# View a Build
@build_bp.route("/<int:build_id>/view", methods=["GET"])
def view_build(build_id):
build = Build.query.get_or_404(build_id)
return render_template("build/view_build.html", build=build)


# # Run a Build
# @build_bp.route("/run-build", methods=["POST"])
# def run_build():
Expand Down

0 comments on commit e41b464

Please sign in to comment.