Sha256: b9c502e7c0b5eb57a4a72071b3dd1c7a1f3dc4a76c86fc1527aadd8d024c98ea

Contents?: true

Size: 302 Bytes

Versions: 97

Compression:

Stored size: 302 Bytes

Contents

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

  def update
    @use_restriction = UseRestriction.find(params[:id])
    if params[:move]
      move_position(@use_restriction, 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/use_restrictions_controller.rb
enju_circulation-0.1.0.pre36 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre35 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre34 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre33 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre32 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre31 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre30 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre29 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre28 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre27 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre26 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre25 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre24 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre23 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre22 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre21 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre20 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre19 app/controllers/use_restrictions_controller.rb
enju_circulation-0.1.0.pre18 app/controllers/use_restrictions_controller.rb