should_be_restful and redirect

1 view
Skip to first unread message

jko170

unread,
Aug 15, 2008, 10:31:07 AM8/15/08
to shoulda
Why do I have to supply the redirect should_be_restful option? If I
don't I get an error. Passing nil to the redirect option doesn't help.
Reason is I have an ajax controller that doesn't redirect anywhere!

jko170

unread,
Aug 18, 2008, 10:06:43 PM8/18/08
to shoulda
So is the redirect optional?

James Golick

unread,
Aug 18, 2008, 10:07:14 PM8/18/08
to sho...@googlegroups.com
Yeah.

resource.create.redirect = :success

jko170

unread,
Aug 18, 2008, 11:41:19 PM8/18/08
to shoulda
Perfect, thanks!
Reply all
Reply to author
Forward
0 new messages