'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
Hello Rails<%= 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:
Thanks in advance