redirects to root if access is denied and referer is missing
Ading .to_s to the font paths

Rails.root.join returns a Pathname object