ehh
This commit is contained in:
@ -5,7 +5,7 @@ from .forms import PlantForm
|
||||
|
||||
bp = Blueprint('plant', __name__, template_folder='templates')
|
||||
|
||||
@bp.route('/plants')
|
||||
@bp.route('/plants/')
|
||||
def index():
|
||||
plants = Plant.query.order_by(Plant.created_at.desc()).all()
|
||||
return render_template('plant/index.html', plants=plants)
|
||||
|
Reference in New Issue
Block a user