On 9 December 2010 14:54, Susanne P. <[email protected]> wrote:
> Hey everyone,
>
> I have to define a new function(called it "send") in my
> controller(newsletter_controller.rb).
>
> Everything is in the same controller(newsletters) however the error
> occures No route matches {:action=>"send", :controller=>"newsletters"}

You may run into problems because "send" is a reserved word:
http://wiki.rubyonrails.org/rails/pages/reservedwords

I'd change the name of the action, and try again to see what occurs.

-- 
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 [email protected].
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.

Reply via email to