Hi all, 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 "def show @profile = Profile.find(current_user.id) end" and i have "resources :profiles" in my routers.rb i also have a show.html.erb file with in <h1>my profile</h1> 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 -- Posted via http://www.ruby-forum.com/. -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.