canvas-lms/lib/user_content
Alex Boyd 80b7766db6 fix user content translation of user attachment links
fixes CNVS-31408

test plan:
 - go to /files
 - upload a file
 - note its id
 - add a calendar event to your user calendar
 - put /users/<user_id>/files/<attachment_id> somewhere in the
   description, where <user_id> is your own non-global user id
   and <attachment_id> is the id of the file you uploaded
 - save the event
 - go to your calendar
 - ensure the event renders
 - ensure you don't get a "oops the last request didn't work out"
   thing showing up

Change-Id: I9b296c657c7e5bbfb2bace35e5d6cc7b7e036a2c
Reviewed-on: https://gerrit.instructure.com/89110
Reviewed-by: Joel Hough <joel@instructure.com>
Tested-by: Jenkins
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Alex Boyd <aboyd@instructure.com>
2016-09-02 00:22:50 +00:00
..
files_handler.rb fix user content translation of user attachment links 2016-09-02 00:22:50 +00:00