Make getToSLink() an actual method for re-use by others.
Make getToSLink() an actual method for re-use by others.

Uses the views.helper.redirects module to create the /document/show path,
instead of hard-coding it as a format string.

Patch by: Todd Larsen
Review by: to-be-reviewed

--HG--
extra : convert_revision : svn%3A32761e7d-7263-4528-b7be-7235b26367ec/trunk%401431

SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange