<gh_stars>0
from routes.common import *

@app.route('/')
@app.route('/store/')
def showStores():

	stores = session.query(Store).order_by(asc(Store.id)).all()

	if 'user_id' not in login_session:
		state = makeState()
		return render_template('publicstores.html', stores=stores, state=state)
	else:
		return render_template('stores.html', stores=stores)


from routes.common import *

@app.route('/')
@app.route('/store/')
def showStores():

	stores = session.query(Store).order_by(asc(Store.id)).all()

	if 'user_id' not in login_session:
		state = makeState()
		return render_template('publicstores.html', stores=stores, state=state)
	else:
		return render_template('stores.html', stores=stores)