Sha256: 3c338b1559ad62bd88b3346f7cb86c39367fa7661a94ca11013bd743b323891b

Contents?: true

Size: 315 Bytes

Versions: 97

Compression:

Stored size: 315 Bytes

Contents

class CirculationStatusesController < InheritedResources::Base
  respond_to :html, :json
  load_and_authorize_resource

  def update
    @circulation_status = CirculationStatus.find(params[:id])
    if params[:move]
      move_position(@circulation_status, params[:move])
      return
    end
    update!
  end
end

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre17 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre16 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre15 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre14 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre13 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre12 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre11 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre10 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre9 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre8 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre7 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre6 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre5 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre4 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre3 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre2 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre app/controllers/circulation_statuses_controller.rb
enju_circulation-0.0.71 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.0.70 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.0.69 app/controllers/circulation_statuses_controller.rb