Skip to content

Commit 3c434e8

Browse files
committed
Remove unused collections stuff
This was a beta api that didn't work out. Test plan: canvas should still work (sorry, this touches lots of stuff) Change-Id: I31680b83f72f6d739ce74735ba40d7a760debb33 Reviewed-on: https://gerrit.instructure.com/29506 Tested-by: Jenkins <jenkins@instructure.com> Reviewed-by: Jon Jensen <jon@instructure.com> QA-Review: Caleb Guanzon <cguanzon@instructure.com> Product-Review: Cameron Matheson <cameron@instructure.com>
1 parent a6446e5 commit 3c434e8

40 files changed

Lines changed: 168 additions & 3201 deletions

app/controllers/application_controller.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,6 @@ def get_context
409409
params[:context_id] = params[:course_section_id]
410410
params[:context_type] = "CourseSection"
411411
@context = api_find(CourseSection, params[:course_section_id])
412-
elsif params[:collection_item_id]
413-
params[:context_id] = params[:collection_item_id]
414-
params[:context_type] = 'CollectionItem'
415-
@context = CollectionItem.find(params[:collection_item_id])
416412
elsif request.path.match(/\A\/profile/) || request.path == '/' || request.path.match(/\A\/dashboard\/files/) || request.path.match(/\A\/calendar/) || request.path.match(/\A\/assignments/) || request.path.match(/\A\/files/)
417413
@context = @current_user
418414
@context_membership = @context

app/controllers/collection_items_controller.rb

Lines changed: 0 additions & 388 deletions
This file was deleted.

0 commit comments

Comments
 (0)