Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix more urlencoded links.

  • Loading branch information...
commit 0dd23b03638a950d9ff7539f02ca360441ae1f22 1 parent 371bca0
@markstory markstory authored
View
6 View/Elements/breadcrumb.ctp
@@ -8,9 +8,9 @@ echo $this->Html->link('/', array('action' => 'source')) . ' ';
for ($i = 0, $pathCount = count($pathSegments) - 1; $i < $pathCount; $i++) :
$pathBit = array_slice($pathSegments, $i, 1);
- $path = implode('/', array_slice($pathSegments, 0, $i + 1));
- echo $this->Html->link($pathBit[0], array('action' => 'source', $path)) . ' / ';
+ $path = array_slice($pathSegments, 0, $i + 1);
+ echo $this->Html->link($pathBit[0], array_merge(array('action' => 'source'), $path)) . ' / ';
endfor;
echo $pathSegments[$pathCount];
-?>
+?>
View
4 View/Elements/function_summary.ctp
@@ -49,7 +49,7 @@
'controller' => 'api_classes',
'action' => 'view_source',
$pseudoClass,
- '#line-'. $doc->info['startLine']
+ '#' => 'line-'. $doc->info['startLine']
));
endif;
?> </dd>
@@ -60,4 +60,4 @@
echo $this->element('tag_block', array('tags' => $doc->info['comment']['tags']));
?>
</div>
-</div>
+</div>

0 comments on commit 0dd23b0

Please sign in to comment.
Something went wrong with that request. Please try again.