As of Rails 3.0.3, there are no comments in routes.rb that relate to the
creation of home_url and home_path. There is a mention of root:

  # You can have the root of your site routed with "root"
  # just remember to delete public/index.html.
  # root :to => "welcome#index"

but that it all.

I just want to know why in my app, this action:

---
redirect_to(home_url, :notice => "Completed")
---

Returns the following error:

---
NameError in InvitationsController#complete_thing

undefined local variable or method `home_url' for
#<InvitationsController:0x52ba788>
---

-- 
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-talk@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.

Reply via email to