Sha256: d925f8a22b7eb6a32fc034688ddc92607a2be32fb50c33ed17fdee23978e144d

Contents?: true

Size: 478 Bytes

Versions: 20

Compression:

Stored size: 478 Bytes

Contents

## This controller uses includes

class Nested::BuilderController < ApplicationController
  include Wicked::Wizard

  steps :first, :second, :last_step

  # nested_builder GET    /nested/:nested_id/builder/:id(.:format)      {:action=>"show", :controller=>"builder"}
  def show
    raise "no nested_id: #{params.inspect}" unless params[:nested_id].present?
    raise "no id: #{params.inspect}"        unless params[:id].present?

    render_wizard
  end

  def update
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

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