You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class CompaniesController < ApplicationController act_wizardly_for :company on_finish(:step5) do do_not_complete @company.finished = true @company.save #or save_without_validation redirect_to :step1 end end
any pointers would be greatly appreciated :)
thanks for the great gem, btw.
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to implement a wizard that permits editing of the resource after finishing the form, as per comments on this issue:
http://github.com/jeffp/wizardly/issues#issue/2/comment/66081
but I'm hitting the following error when submitting or even just hitting the 'back' commit:
here's my implementation:
class CompaniesController < ApplicationController act_wizardly_for :company on_finish(:step5) do do_not_complete @company.finished = true @company.save #or save_without_validation redirect_to :step1 end end
any pointers would be greatly appreciated :)
thanks for the great gem, btw.
The text was updated successfully, but these errors were encountered: