Need an API for setting target of after-submit go-back
Reported by Arnaud D. | March 23rd, 2011 @ 07:58 AM | in Hobo 1.4
Hi,
I tried to add an after-submit go-back but this one seems not working in 1.3.0pre27.
Using after-submit stay-here, a hidden input is added but not
with go-back.
Probably that the uri generated is always nil.
Comments and changes to this ticket
-
Domizio Demichelis March 28th, 2011 @ 10:32 PM
Please, could you attach a bare app with the minimum code to reproduce? Thank you.
-
Matt Jones September 14th, 2011 @ 09:10 PM
- State changed from new to open
- Assigned user set to Matt Jones
- Milestone set to Hobo 1.4
- Title changed from after-submit go-back to Need an API for setting target of after-submit go-back
- Milestone order changed from 197965 to 0
I've added a note in the documentation -
go-back
requires thatsession[:previous_uri]
be set before it can operate successfully. There's no code that does that at present in Hobo itself. -
Bryan Larsen June 1st, 2012 @ 06:25 PM
- State changed from open to resolved
added HoboRapid::PreviousUriFilter in 6faf2227
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Tags
Referenced by
- 752 after-submit go-back requires session[:previous_uri] Documented. We still need an API for doing this nicely - ...