This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am having problem with routes in Ruby and hope that someone can help me. I have problem understanding how routes works. My code is generating the following url: | |
http://localhost:3000/getnotes/category/?id=1 and I am getting this error: | |
Routing Error | |
No route matches "/getnotes/category" | |
How can I get it to work? | |
this url works for some reason but I can't use it since I later need encode my data before sending it. | |
http://localhost:3000/getnotes/category/1.js | |
Jquery code to get the notes |