Luke Cowell wrote:
> 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

yeah I understand #index means it calls the index method in my 
controller... although there actually wasn't an index method in my 
controller I had to add one. Anyway, still getting the error undefined 
method 'action'
the controller does fire and queries my sql database, etc. though

i tried adding

def index

my controller's code

end

I also deleted the match :action/:controller/:id in the routes.rb file 
to simplify things.
-- 
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.

Reply via email to