Topic: Link_to problem
Hi,
When using link_to helpers, I sometimes am getting this output http://localhost:3000/sites/album.56
Notice the dot between the action an the ID.
In my view code, I'm not doing strange manipulations
<%@photoalbum_latest.each do |picture|%>
<%= link_to (image_tag picture.image_url(:frontend).to_s), album_sites_path(picture.photoalbum_category_id.to_s)%>
<br>
<%=picture.nl_comment%>
</div>
<% end %>Is there a workarround this problem?
It is only happening using custom routes.
Thanks