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.pre37 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre36 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre35 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre34 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre33 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre32 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre31 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre30 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre29 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre28 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre27 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre26 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre25 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre24 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre23 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre22 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre21 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre20 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre19 app/controllers/circulation_statuses_controller.rb
enju_circulation-0.1.0.pre18 app/controllers/circulation_statuses_controller.rb