I tried the following and others, but
<%= link_to "some text", factory/demo/user/9 %>
<%= link_to "some text", factories/demo/chat %>
<%= link_to "some text","/factory/demo" %>
<%= link_to ("some text","/factory/demo") %>
not clear where 'You don't want to have white space between method name
and brackets so either ...."
Il giorno giovedì 18 settembre 2014 23:15:54 UTC+2, Colin Law ha scritto:
>
> On 18 September 2014 22:04, Paolo Di Pietro <[email protected]
> <javascript:>> wrote:
>
>> Done!
>>
>> Then I put
>> <%= link_to "some text", /factory/demo/message/1389/ %>
>> in my .erb file
>>
>>
> I think maybe before worrying about generic routes you need to get to
> grips with the basics of ruby and rails. I suggest you start by working
> right through a good tutorial such as railstutorial.org (which is free to
> use online).
>
> Colin
>
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/a7383407-ee4e-4336-8cdf-8dc2f712c977%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.