mirror of
https://github.com/kbparagua/paloma
synced 2023-03-27 23:21:17 -04:00
Update README.md
This commit is contained in:
parent
11e81bdc14
commit
0fa1ea4ac0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue