<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Cakephp Tips: Routing an Admin dashboard</title>
	<atom:link href="http://randika.com/2009/09/09/cakephp-tips-routing-an-admin-dashboard/feed/" rel="self" type="application/rss+xml" />
	<link>http://randika.com/2009/09/09/cakephp-tips-routing-an-admin-dashboard/</link>
	<description></description>
	<lastBuildDate>Sun, 15 Jan 2012 20:17:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jatin200886</title>
		<link>http://randika.com/2009/09/09/cakephp-tips-routing-an-admin-dashboard/comment-page-1/#comment-1703</link>
		<dc:creator>Jatin200886</dc:creator>
		<pubDate>Wed, 11 Aug 2010 18:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://randika.com/?p=89#comment-1703</guid>
		<description>You should first create Admin routing in config/core.php.  Just write Configure::write(&#039;Routing.prefixes&#039;, array(&#039;admin&#039;)); (if using cake1.3) or  Configure::write(&#039;Routing.admin&#039;, &#039;admin&#039;);</description>
		<content:encoded><![CDATA[<p>You should first create Admin routing in config/core.php.  Just write Configure::write(&#39;Routing.prefixes&#39;, array(&#39;admin&#39;)); (if using cake1.3) or  Configure::write(&#39;Routing.admin&#39;, &#39;admin&#39;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randika Rathugama</title>
		<link>http://randika.com/2009/09/09/cakephp-tips-routing-an-admin-dashboard/comment-page-1/#comment-1665</link>
		<dc:creator>Randika Rathugama</dc:creator>
		<pubDate>Wed, 16 Jun 2010 15:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://randika.com/?p=89#comment-1665</guid>
		<description>Thank you for sharing your experience and codes</description>
		<content:encoded><![CDATA[<p>Thank you for sharing your experience and codes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webfacer.com</title>
		<link>http://randika.com/2009/09/09/cakephp-tips-routing-an-admin-dashboard/comment-page-1/#comment-1656</link>
		<dc:creator>webfacer.com</dc:creator>
		<pubDate>Tue, 15 Jun 2010 04:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://randika.com/?p=89#comment-1656</guid>
		<description>Hei,&lt;br&gt;&lt;br&gt;i had make the same mistake as you and because i thought the action have to be the same as the method but it isn´t.&lt;br&gt;&lt;br&gt;Wrong:&lt;br&gt;Router::connect(&#039;/admin&#039;, array(&#039;controller&#039; =&gt; &#039;users&#039;, &#039;action&#039; =&gt;&#039;admin_login&#039;, &#039;admin&#039; =&gt; true)); &lt;br&gt;&lt;br&gt;Right:&lt;br&gt;Router::connect(&#039;/admin&#039;, array(&#039;controller&#039; =&gt; &#039;users&#039;, &#039;action&#039; =&gt;&lt;br&gt;&#039;login&#039;, &#039;admin&#039; =&gt; true)); &lt;br&gt;&lt;br&gt;You see you call the action without the prefix &#039;admin_&#039; of the method only the method name.&lt;br&gt;&lt;br&gt;I hope everyone is helped out of the misery ;)</description>
		<content:encoded><![CDATA[<p>Hei,</p>
<p>i had make the same mistake as you and because i thought the action have to be the same as the method but it isn´t.</p>
<p>Wrong:<br />Router::connect(&#39;/admin&#39;, array(&#39;controller&#39; =&gt; &#39;users&#39;, &#39;action&#39; =&gt;&#39;admin_login&#39;, &#39;admin&#39; =&gt; true)); </p>
<p>Right:<br />Router::connect(&#39;/admin&#39;, array(&#39;controller&#39; =&gt; &#39;users&#39;, &#39;action&#39; =&gt;<br />&#39;login&#39;, &#39;admin&#39; =&gt; true)); </p>
<p>You see you call the action without the prefix &#39;admin_&#39; of the method only the method name.</p>
<p>I hope everyone is helped out of the misery <img src='http://randika.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

