Show breadcrumb on the new collaborations page

Fixes PLAT-1602

Test Plan
 - In the context of a group the bread crumb should
   show the collaborations link with the proper url
 - In the context of a course the bread crumb should
   show the collaborations link with the proper url

Change-Id: I3492491a7ca16ec19717e3771862de702984c364
Reviewed-on: https://gerrit.instructure.com/82377
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Matthew Sessions <msessions@instructure.com>
This commit is contained in:
Matthew Sessions 2016-06-13 13:08:27 -06:00
parent 1284121803
commit 492b5c3135
1 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,8 @@ class CollaborationsController < ApplicationController
js_bundle :react_collaborations
css_bundle :react_collaborations
add_crumb(t('#crumbs.collaborations', "Collaborations"), polymorphic_path([@context, :lti_collaborations]))
render :text => "".html_safe, :layout => true
end