Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No route matches #22

Open
pailoro opened this issue Aug 13, 2014 · 1 comment
Open

No route matches #22

pailoro opened this issue Aug 13, 2014 · 1 comment

Comments

@pailoro
Copy link

pailoro commented Aug 13, 2014

Got this error to my function add_item

{:action=>"add_item", :id=>nil, :controller=>"comprar"}

Someone already get this message?

Thanks!

@pietere
Copy link

pietere commented Sep 1, 2014

you have to define a new route that maps to your "comprar" controller, action "add_item" like this

post 'add_item', to: 'comprar#add_item'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants