1
0
Fork 0
mirror of https://github.com/kbparagua/paloma synced 2023-03-27 23:21:17 -04:00

Update README.md

This commit is contained in:
Karl Bryan Paragua 2013-10-12 22:09:02 +08:00
parent 0fa1ea4ac0
commit 17bdc72077

View file

@ -193,6 +193,10 @@ A request for `first_action` will lead to 2 redirects until it reaches the `thir
For example: `render "something.js.erb"`
## Credits
* [Karl Bryan Paragua](http://www.karlparagua.com)
## Where to put code?
Again, Paloma is now flexible and doesn't force developers to follow specific folder structure.
You have the freedom to create controllers and routes anywhere in your javascript code.
Personally, I prefer having a `routes.js` file to contain all the route declaration, and a javascript file for each controller.