<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Link_to problem]]></title>
		<link>http://railsforum.com/viewtopic.php?id=52298</link>
		<description><![CDATA[The most recent posts in Link_to problem.]]></description>
		<lastBuildDate>Sun, 03 Feb 2013 14:10:29 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Link_to problem]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=158799#p158799</link>
			<description><![CDATA[<p>Hi,</p><p>My routes look like this <br /></p><div class="codebox"><pre><code>resources :sites do
    collection do
      get &#039;contact&#039;
      get &#039;detail&#039;
      get &#039;sub&#039;
      get &#039;tf&#039;
      get &#039;album&#039;
      get &#039;change_language&#039;
      post &#039;createTF&#039;
    end
  end</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (reyntjensw)]]></author>
			<pubDate>Sun, 03 Feb 2013 14:10:29 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=158799#p158799</guid>
		</item>
		<item>
			<title><![CDATA[Re: Link_to problem]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=158798#p158798</link>
			<description><![CDATA[<p>It could be useful to know how you define your custom named route to have a chance to help you<br />Cheers...</p>]]></description>
			<author><![CDATA[dummy@example.com (anso)]]></author>
			<pubDate>Sun, 03 Feb 2013 13:00:03 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=158798#p158798</guid>
		</item>
		<item>
			<title><![CDATA[Link_to problem]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=158764#p158764</link>
			<description><![CDATA[<p>Hi,</p><p>When using link_to helpers, I sometimes am getting this output <strong>http://localhost:3000/sites/album.56</strong><br />Notice the dot between the action an the ID.</p><p>In my view code, I&#039;m not doing strange manipulations </p><div class="codebox"><pre><code>&lt;%@photoalbum_latest.each do |picture|%&gt;
                           &lt;%= link_to (image_tag picture.image_url(:frontend).to_s), album_sites_path(picture.photoalbum_category_id.to_s)%&gt;
              &lt;br&gt;
              &lt;%=picture.nl_comment%&gt;
            &lt;/div&gt;
            &lt;% end %&gt;</code></pre></div><p>Is there a workarround this problem?<br />It is only happening using custom routes.</p><p>Thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (reyntjensw)]]></author>
			<pubDate>Sat, 02 Feb 2013 15:28:36 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=158764#p158764</guid>
		</item>
	</channel>
</rss>
