Sha256: 53cbd5d955cb99cbc33a2b5f72cf1a2444cc24fb678a3904e29a7d66f390b2f0

Contents?: true

Size: 369 Bytes

Versions: 40

Compression:

Stored size: 369 Bytes

Contents

class PatronRelationshipTypesController < InheritedResources::Base
  respond_to :html, :json
  has_scope :page, :default => 1
  load_and_authorize_resource

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

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre42 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre41 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre40 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre39 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre38 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre37 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre36 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre35 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre34 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre33 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre32 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre31 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre30 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre29 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre28 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre27 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre26 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre25 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre24 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre23 app/controllers/patron_relationship_types_controller.rb