Commit b6e2fa0e95ba9af5b6bbfd2d69b0f62b767bb51c

  • avatar
  • vesal (Committer)
  • Wed Sep 06 01:57:04 EEST 2017
  • avatar
  • vesal (Author)
  • Wed Sep 06 01:57:04 EEST 2017
save forgot?
timApp/routes/view.py
(1 / 1)
  
187187 ind = item_name.rfind('/')
188188 if ind >= 0:
189189 ret = do_create_document(item_name, 'document', item_name[ind+1:], None, template_item.path)
190 return view(item_name, 'view_html.html')
190 return view(item_name, 'view_html.html')
191191
192192 return render_template('create_new.html',
193193 in_lecture=is_in_lecture,