On Apr 25, 2010, at 7:52 PM, storitel wrote:
i finally managed to stay on the contact page after the call is added
by putting the following in the CallsController
def create_for_contact
hobo_create do
redirect_to :back if valid?
end
end
what I can't understand is why <after-submit: uri="stay-here"/>
doesn't make any difference
Haven't had a chance to look into your original post, but note that
the syntax is:
<after-submit: stay-here />
which is really shorthand for:
<after-submit: stay-here="&true" />
Anything that's passed into the uri param is used directly.
--Matt Jones
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.