Sha256: 0588c17efdee5171b67c3fefb63f59db8dc4c0b7db2b77f0f4b186da36e74724

Contents?: true

Size: 251 Bytes

Versions: 11

Compression:

Stored size: 251 Bytes

Contents

class DynamicStepsController < ApplicationController
  include Wicked::Wizard
  prepend_before_filter :set_steps

  def show
    render_wizard
  end


  private
  def set_steps
    self.steps = if params[:steps]
      params[:steps]
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wicked-1.2.1 test/dummy/app/controllers/dynamic_steps_controller.rb
wicked-1.1.1 test/dummy/app/controllers/dynamic_steps_controller.rb
wicked-1.1.0 test/dummy/app/controllers/dynamic_steps_controller.rb
wicked-1.0.3 test/dummy/app/controllers/dynamic_steps_controller.rb
wicked-1.0.2 test/dummy/app/controllers/dynamic_steps_controller.rb
wicked-1.0.1 test/dummy/app/controllers/dynamic_steps_controller.rb
wicked-1.0.0 test/dummy/app/controllers/dynamic_steps_controller.rb
wicked-0.6.1 test/dummy/app/controllers/dynamic_steps_controller.rb
wicked-0.6.0 test/dummy/app/controllers/dynamic_steps_controller.rb
wicked-0.5.0 test/dummy/app/controllers/dynamic_steps_controller.rb
wicked-0.4.0 test/dummy/app/controllers/dynamic_steps_controller.rb