Sha256: 5fca6b33999e1d0492e2e03bf3584fe63151e137c071e216d370f94c0663db53

Contents?: true

Size: 329 Bytes

Versions: 18

Compression:

Stored size: 329 Bytes

Contents

## This controller uses includes

class StepPositionsController < ApplicationController
  include Wicked::Wizard
  steps :first, :second, :last_step

  def show
    case step
    when :first
    when :second
    when :last_step
    else
      raise "error #{step.inspect}"
    end
    render_wizard
  end

  def update
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
wicked-2.0.0 test/dummy/app/controllers/step_positions_controller.rb
wicked-1.4.0 test/dummy/app/controllers/step_positions_controller.rb
wicked-1.3.4 test/dummy/app/controllers/step_positions_controller.rb
wicked-1.3.3 test/dummy/app/controllers/step_positions_controller.rb
wicked-1.3.2 test/dummy/app/controllers/step_positions_controller.rb
wicked-1.3.1 test/dummy/app/controllers/step_positions_controller.rb
wicked-1.3.0 test/dummy/app/controllers/step_positions_controller.rb
wicked-1.2.1 test/dummy/app/controllers/step_positions_controller.rb
wicked-1.1.1 test/dummy/app/controllers/step_positions_controller.rb
wicked-1.1.0 test/dummy/app/controllers/steps_controller.rb
wicked-1.0.3 test/dummy/app/controllers/steps_controller.rb
wicked-1.0.2 test/dummy/app/controllers/steps_controller.rb
wicked-1.0.1 test/dummy/app/controllers/steps_controller.rb
wicked-1.0.0 test/dummy/app/controllers/steps_controller.rb
wicked-0.6.1 test/dummy/app/controllers/steps_controller.rb
wicked-0.6.0 test/dummy/app/controllers/steps_controller.rb
wicked-0.5.0 test/dummy/app/controllers/steps_controller.rb
wicked-0.4.0 test/dummy/app/controllers/steps_controller.rb