Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: e8df825f32
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.429 kB
## This controller uses includes
class Jump2Controller < ApplicationController
include Wicked::Wizard
steps :first, :second, :last_step
def edit
skip_step if params[:skip_step]
jump_to :last_step if params[:jump_to]
if params[:resource]
value = params[:resource][:save] == 'true'
@bar = Bar.new(value)
render_wizard(@bar)
else
render_wizard
end
end
def update
end
end
Jump to Line
Something went wrong with that request. Please try again.