Sha256: b2fbe3358e32dfd20cd29fad3c11fec5702c5690f06943248d75c30e0eae7977

Contents?: true

Size: 256 Bytes

Versions: 2

Compression:

Stored size: 256 Bytes

Contents

class OrdersController < ApplicationController
  has_steps :redirect_to => {
      :after_save =>   {:action => :index},
      :after_finish => proc { |controller, resource| controller.order_url(resource.id) }
  }

  def show

  end

  def index

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stepper-0.2.0 test/rails_app/app/controllers/orders_controller.rb
stepper-0.1.0 test/rails_app/app/controllers/orders_controller.rb