Activities should use absolute paths

This is for interoperability of the notifications popin.
This commit is contained in:
Zachary Doll 2015-01-31 09:53:46 -06:00
parent 633b9983b5
commit 02fca4f476

View File

@ -93,7 +93,7 @@ class BadgeAwardModel extends Gdn_Model {
'ActivityType' => 'BadgeAward',
'ActivityUserID' => $UserID,
'RegardingUserID' => $InsertUserID,
'Photo' => $Badge->Photo,
'Photo' => Url($Badge->Photo, TRUE),
'RecordType' => 'Badge',
'RecordID' => $BadgeID,
'Route' => '/yaga/badges/' . $Badge->BadgeID . '/' . Gdn_Format::Url($Badge->Name),