Skip to content

Commit

Permalink
use RCS with question banks
Browse files Browse the repository at this point in the history
fixes CNVS-30921

test-plan:
 - have an RCS instance and your Canvas configured to use it
 - enable the high risk RCS feature flag
 - go to a question bank (e.g.:
   - go to a course
   - go to the course's quizzes
   - select "Manage Question Banks" form the gear menu
   - go into one of the question banks
 - click "Add a Question"
 - displayed RCE should come from the RCS

Change-Id: If2369fcedaef4a14e83b943ad52404bd55d0266d
Reviewed-on: https://gerrit.instructure.com/93015
Reviewed-by: Simon Williams <[email protected]>
Tested-by: Jenkins
QA-Review: Benjamin Christian Nelson <[email protected]>
Product-Review: Jacob Fugal <[email protected]>
  • Loading branch information
lukfugl committed Oct 29, 2016
1 parent f1fff47 commit 27ca913
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/question_banks_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def show
:CONTEXT_URL_ROOT => polymorphic_path([@context]),
:ROOT_OUTCOME_GROUP => outcome_group_json(@context.root_outcome_group, @current_user, session)
})
rce_js_env(:highrisk)

add_crumb(@bank.title)
if authorized_action(@bank, @current_user, :read)
Expand Down

0 comments on commit 27ca913

Please sign in to comment.