I don't have tests for that -- but it should work. The paths are already defined by the time act_wizardly_for is called. cheers - j
On Tue, Aug 4, 2009 at 10:46 PM, Jonathan Clarke <[email protected]>wrote: > Example, > > :completed=>root_path > > > 2009/8/5 Jeff Patmon <[email protected]> > >> Jonathan - can u give me a clearer example of what u mean? thanks. >> >> >> On Tue, Aug 4, 2009 at 9:05 PM, Jonathan Clarke <[email protected]>wrote: >> >>> + 1 to includes routes + paths. I'd use it in a heartbeat if that was >>> there. >>> >>> 2009/8/5 Ryan Bigg (Radar) <[email protected]> >>> >>> and blogs_path for example? >>>> >>>> 2009/8/5 Jeff Patmon <[email protected]> >>>> >>>> works like a redirect_to, takes both >>>>> >>>>> :completed=>'/main/finished' >>>>> >>>>> or >>>>> >>>>> :completed=>{:controller=>:main, :action=>:finished} >>>>> >>>>> j >>>>> >>>>> On Tue, Aug 4, 2009 at 5:34 PM, Ryan Bigg (Radar) < >>>>> [email protected]> wrote: >>>>> >>>>>> I'm too lazy to go digging into the source right now but does >>>>>> :completed, :cancelled & :redirect take named routes as values or do you >>>>>> have to specify direct paths? >>>>>> >>>>>> 2009/8/5 jeffp <[email protected]> >>>>>> >>>>>>> >>>>>>> Very easy wizard controller and scaffold gem 'wizardly'. Try it out: >>>>>>> http://github.com/jeffp/wizardly Looking for feedback - thanks >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Ryan Bigg >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Ryan Bigg >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" 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/rails-oceania?hl=en -~----------~----~----~----~------~----~------~--~---
