im new to ruby on rails, this is my first project and im stuck on a
rather (i expect) simple problem.
ive made a link
<%= link_to “Profile”, show_profile_path %>
in my main application.html.erb
i have a profiles_controller.rb with the method “show” in it
@profile = Profile.find(current_user.id)
and i have “resources :profiles” in my routers.rb
i also have a show.html.erb file with in
but i keep getting the error
“undefined method ‘show_profile_path’ for …”
it dosnt make any sence to me as ive got another link to
new_profile_path that works?!
please help, much thanks Al