I have some RESTful controllers and have added a custom method to application_controller
.
I have not changed anything in the routes to indicate this new method. The method is poll_memos
. I have entered the following URL:
/groups/1234/poll_memos
I get the following error:
Unknown action
No action responded to 1234. Actions: create, destroy, edit, index, new, poll_memos, show, and update
Two questions: Since I didn't modify routes how does rails know about poll_memos
? Second, since it seems to know about it, why is it not working?