mirror of
https://github.com/vale981/dirkules
synced 2025-03-04 17:01:40 -05:00
small views update
This commit is contained in:
parent
e27ce778f6
commit
44fc32bd4f
1 changed files with 2 additions and 4 deletions
|
@ -28,14 +28,12 @@ def index():
|
|||
|
||||
@app.route('/drives', methods=['GET'])
|
||||
def drives():
|
||||
drives = Drive.query.all()
|
||||
return render_template('drives.html', drives=drives)
|
||||
return render_template('drives.html', drives=Drive.query.all())
|
||||
|
||||
|
||||
@app.route('/pools', methods=['GET'])
|
||||
def pools():
|
||||
pools = Pool.query.all()
|
||||
return render_template('pools.html', pools=pools)
|
||||
return render_template('pools.html', pools=Pool.query.all())
|
||||
|
||||
|
||||
@app.route('/pool/<pool>', methods=['GET'])
|
||||
|
|
Loading…
Add table
Reference in a new issue