Ruby on Rails
Monday, December 8, 2014
Hello,
I follow the Agile Web development book.
Now as a extra challenge I try to make the card visible on a seperate page.
So I made this link :
<li><%= link_to '<i class="fa fa-money"></i> Card'.html_safe, cart_path %> </li>
But now I see the above error message.
When I do card_path (:id) I see a message that there is no card with the id of id.
Roelof
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9442f58f-58b5-475e-823d-c797431c41c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment