mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Remove dev route
This commit is contained in:
parent
b98e30022e
commit
cfa4fa68f2
@ -31,15 +31,6 @@ from .forms import (
|
||||
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'])
|
||||
@login_required
|
||||
|
Loading…
Reference in New Issue
Block a user