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 21:41:44 +08:00
parent 11e81bdc14
commit 0fa1ea4ac0

View file

@ -90,13 +90,13 @@ You can also redirect an action if you want it to be handled by a different meth
```javascript
// Instead of executing Paloma's `Users#new` it will execute
// `Registrations#signup`.
// `Registrations#signUp`.
Paloma.router.redirect('Users#new', {to: 'Registrations#signUp');
```
## Controller
Controller handles responses from Rails. A specific instance of a controller is called by Paloma for every Rails controller/action that is executed.
Controller handles responses from Rails. A new controller instance is created by Paloma for every Rails controller/action that is executed.
### Creating Controller