Hi, 'm new to Rails. I tried using _path and _url with link_to helper method but it doesnt work for me.
Does anyone know what can be the issue? my code is <h1>Hello Rails</h1> <%= flash[:notice] %> <%= link_to 'Show Blog', posts_url %> Post is my controller The error 'm getting is undefined local variable or method `posts_url' for #<ActionView::Base: 0x102b23d> Thanks in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---