Sha256: 17bda80dc6549981f4e2cf58e344d9aed511dc4d5fc0132314da5c06cc91647e
Contents?: true
Size: 400 Bytes
Versions: 9
Compression:
Stored size: 400 Bytes
Contents
class UpdatesController < ApplicationController include Wicked::Wizard class Thing def save true end end steps :first, :second, :last_step def index end def show render_wizard end def update @thing = Thing.new render_wizard(@thing, notice: "Thing was updated from step #{step}.") end private def finish_wizard_path updates_path end end
Version data entries
9 entries across 9 versions & 1 rubygems