2025-12-11 10:16:43 +05:30
|
|
|
from flask import Blueprint, render_template
|
2026-01-10 01:04:21 +05:30
|
|
|
from app.utils.helpers import login_required
|
2025-12-11 10:16:43 +05:30
|
|
|
|
2026-01-10 01:04:21 +05:30
|
|
|
dashboard_bp = Blueprint("dashboard", __name__, url_prefix="/dashboard")
|
2025-12-11 10:16:43 +05:30
|
|
|
|
|
|
|
|
@dashboard_bp.route("/")
|
2026-01-10 01:04:21 +05:30
|
|
|
@login_required
|
2025-12-11 10:16:43 +05:30
|
|
|
def dashboard():
|
|
|
|
|
return render_template("dashboard.html", title="Dashboard")
|