From 17bdc72077e95a8608b50f982d70764e3aa14084 Mon Sep 17 00:00:00 2001 From: Karl Bryan Paragua Date: Sat, 12 Oct 2013 22:09:02 +0800 Subject: [PATCH] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9c97cf0..9c8b4fe 100644 --- a/README.md +++ b/README.md @@ -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.