esensi / core

The foundational components of Esensi
MIT License
22 stars 1 forks source link

Redirect store/update back for modals #13

Closed bbatsche closed 8 years ago

bbatsche commented 8 years ago

If a user triggers a modal create/edit, typically they would like to stay on whatever page they are currently on rather than being sent to a different view entirely.

dalabarge commented 8 years ago

I've often though about just making all the methods use back() as a default as that's generally always the desired use with the exception of perhaps creating new items which its often nice to redirect to the new object itself. There's no silver bullet here but I think this is a worth while inclusion.