Try changing it to something like this:
match 'atweet', :to => 'atweet#index'

This would mean that in AtweetController the index method when you go to 
/atweet in your browser.

Are you familiar with MVC ? If not, do a bit of googling.

Luke


On 2010-10-08, at 12:47 AM, Andrew Jones wrote:

> For the record:
> match 'atweet', :to => 'atweet'
> 
> i.e. in rails 3
> match 'url', :to => 'controller'
> 
> also new problem is:
> undefined method `action'
> 
> NoMethodError in AtweetController#atweet
> 
> Still working on it.
> thanks for the help.
> 
> -
> A
> -- 
> 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 [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.
> 

-- 
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