Skip to content

Commit

Permalink
Fixed canonical url in /categories/*.
Browse files Browse the repository at this point in the history
  • Loading branch information
tburry committed Mar 16, 2012
1 parent c0f7b7b commit e5232d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function Index($CategoryIdentifier = '', $Page = '0') {
$this->SetData('_Page', $Page);

// Set the canonical Url.
$this->CanonicalUrl(Url(ConcatSep('/', 'categories/'.GetValue('UrlCode', $Category, $CategoryIdentifier), PageNumber($Offset, $Limit, TRUE)), TRUE));
$this->CanonicalUrl(Url(ConcatSep('/', 'categories/'.GetValue('UrlCode', $Category, $CategoryIdentifier), PageNumber($Offset, $Limit, TRUE, FALSE)), TRUE));

// Change the controller name so that it knows to grab the discussion views
$this->ControllerName = 'DiscussionsController';
Expand Down

0 comments on commit e5232d3

Please sign in to comment.