<rss version="2.0">
		<channel>
			<title>Akelos PHP Framework Forum - routes to same action</title>
			<lastBuildDate>Mon, 06 Sep 2010 09:52:03 +0200</lastBuildDate>
			<link>http://forum.akelos.org/</link>
			<description></description>
			<generator>
				Lussumo Vanilla 1.1.4 &amp; Feed Publisher
			</generator>
			<item>
		<title>routes to same action</title>
		<link>http://forum.akelos.org/discussion/848/?Focus=3327#Comment_3327</link>
		<guid isPermaLink="false">http://forum.akelos.org/discussion/848/?Focus=3327#Comment_3327</guid>
		<pubDate>Tue, 01 Dec 2009 16:29:07 +0100</pubDate>
		<author>berseck</author>
		<description>
			<![CDATA[ Hello guys<br /><br />Im having here an problem that I cant figured out how to souve it I think it shoud be easy, but I dont know how to do it<br />I have this route:<br />$Map-&gt;connect('/films/:uniquetitle', array('controller' =&gt; 'film', 'action' =&gt; 'show','module' =&gt; 'film'));<br /><br />Movies name came with: http://www.myurl.com/films/up for example<br /><br />Ok its working fine no problem with that<br />But in this tpl show I have one part that have lot of images, so I'm making like a gallery and I would like to put some direct links to this images<br />So I was trying something like this:<br />$Map-&gt;connect('/films/:uniquetitle/images/:picture_name', array('controller' =&gt; 'film', 'action' =&gt; 'show','module' =&gt; 'film'));<br /><br />But when I do that my direct link to filmes on my URL get this /images too<br />Like: <br />http://www.myurl.com/films/up/images<br /><br />And I would like to have 2 diferente routes one for my utitle and another one for the picture name<br />one for my direct movie names:<br />http://www.myurl.com/films/up<br />And another one for pictures but same tpl:<br />http://www.myurl.com/films/up/images<br /><br />Anyone knows how to do that? is it possible?<br />Thx in advance<br /><br />berseck ]]>
		</description>
	</item>
	<item>
		<title>routes to same action</title>
		<link>http://forum.akelos.org/discussion/848/?Focus=3328#Comment_3328</link>
		<guid isPermaLink="false">http://forum.akelos.org/discussion/848/?Focus=3328#Comment_3328</guid>
		<pubDate>Tue, 01 Dec 2009 18:28:07 +0100</pubDate>
		<author>berseck</author>
		<description>
			<![CDATA[ I found my answear<br /><br />Just changing to<br />$Map-&gt;connect('/films/:uniquetitle/:reffer/:picture_name', array('controller' =&gt; 'film', 'action' =&gt; 'show','module' =&gt; 'film',  'reffer' =&gt; OPTIONAL, 'picture_name' =&gt; OPTIONAL));<br /><br />And It is done ;)<br /><br />cya ]]>
		</description>
	</item>
	
		</channel>
	</rss>