Hi,
I have a controller called TagsController that takes the tag name from the url in the index action to get a list of projects with that tag.
<?php
foreach($tags as $tag){
echo "<span class='homepagetags'>".$html->link($tag['t']['tag'], array('controller' => 'tags', $tag['t']['tag'])) . "</span> x " . $tag[0]['NumOccurrances'] . "<br><br>";
}
?>
the link takes me to 'tags/index/php' when I really just want it to be 'tags/php'
Is this a routing solution?
Thanks,
Jonesy