def ask_question(): """Used to asked questions to students.""" if g.lti.is_instructor() == False: return render_template("access_restricted.html") return Question.ask_question(g.lti.get_user_id())
def ask_question(): if g.lti.is_instructor() == False: return render_template("access_restricted.html") return Question.ask_question(g.lti.get_user_id())