mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
Remove dev route
This commit is contained in:
parent
b98e30022e
commit
cfa4fa68f2
@ -31,15 +31,6 @@ from .forms import (
|
|||||||
UpdateCorpusFileForm
|
UpdateCorpusFileForm
|
||||||
)
|
)
|
||||||
|
|
||||||
@bp.route('/fake-add')
|
|
||||||
@login_required
|
|
||||||
def fake_add():
|
|
||||||
pjentsch = User.query.filter_by(username='pjentsch').first()
|
|
||||||
alice = Corpus.query.filter_by(title='Alice in Wonderland').first()
|
|
||||||
pjentsch.follow_corpus(alice)
|
|
||||||
db.session.commit()
|
|
||||||
return ''
|
|
||||||
|
|
||||||
|
|
||||||
@bp.route('/<hashid:corpus_id>/is_public', methods=['POST'])
|
@bp.route('/<hashid:corpus_id>/is_public', methods=['POST'])
|
||||||
@login_required
|
@login_required
|
||||||
|
Loading…
Reference in New Issue
Block a user