Skip to content
This repository
Browse code

Fix more urlencoded links.

  • Loading branch information...
commit 0dd23b03638a950d9ff7539f02ca360441ae1f22 1 parent 371bca0
Mark Story authored November 08, 2011
6  View/Elements/breadcrumb.ctp
@@ -8,9 +8,9 @@ echo $this->Html->link('/', array('action' => 'source')) . ' ';
8 8
 
9 9
 for ($i = 0, $pathCount = count($pathSegments) - 1; $i < $pathCount; $i++) :
10 10
 	$pathBit = array_slice($pathSegments, $i, 1);
11  
-	$path = implode('/', array_slice($pathSegments, 0, $i + 1));
12  
-	echo $this->Html->link($pathBit[0], array('action' => 'source', $path)) . ' / ';
  11
+	$path = array_slice($pathSegments, 0, $i + 1);
  12
+	echo $this->Html->link($pathBit[0], array_merge(array('action' => 'source'), $path)) . ' / ';
13 13
 endfor;
14 14
 
15 15
 echo $pathSegments[$pathCount];
16  
-?>
  16
+?>
4  View/Elements/function_summary.ctp
@@ -49,7 +49,7 @@
49 49
 						'controller' => 'api_classes',
50 50
 						'action' => 'view_source', 
51 51
 						$pseudoClass,
52  
-						'#line-'. $doc->info['startLine']
  52
+						'#' => 'line-'. $doc->info['startLine']
53 53
 					));
54 54
 				endif;
55 55
 			?> </dd>
@@ -60,4 +60,4 @@
60 60
 		echo $this->element('tag_block', array('tags' => $doc->info['comment']['tags'])); 
61 61
 	?>
62 62
 	</div>
63  
-</div>
  63
+</div>

0 notes on commit 0dd23b0

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