From bc98748c0d5b1e1c4d08f16b58db8aea9b5fb5ce Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 12 Jul 2015 10:38:42 -0400 Subject: Start to implement url rewrite (nice urls) --- app/Template/feed/project.php | 6 +++--- app/Template/feed/user.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'app/Template/feed') diff --git a/app/Template/feed/project.php b/app/Template/feed/project.php index 60b7ee96..76cf6cf0 100644 --- a/app/Template/feed/project.php +++ b/app/Template/feed/project.php @@ -2,15 +2,15 @@ <?= t('%s\'s activity', $project['name']) ?> - + - url->base().$this->url->href('feed', 'project', array('token' => $project['token'])) ?> + url->href('feed', 'project', array('token' => $project['token']), false, '', true) ?> url->base() ?>assets/img/favicon.png <?= $e['event_title'] ?> - + diff --git a/app/Template/feed/user.php b/app/Template/feed/user.php index b3279a0c..3e9606c6 100644 --- a/app/Template/feed/user.php +++ b/app/Template/feed/user.php @@ -2,15 +2,15 @@ <?= t('Project activities for %s', $user['name'] ?: $user['username']) ?> - + - url->base().$this->url->href('feed', 'user', array('token' => $user['token'])) ?> + url->href('feed', 'user', array('token' => $user['token']), false, '', true) ?> url->base() ?>assets/img/favicon.png <?= $e['event_title'] ?> - + -- cgit v1.2.3