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.pre22 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre21 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre20 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre19 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre18 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre17 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre16 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre15 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre14 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre13 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre12 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre11 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre10 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre9 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre8 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre7 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre6 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre5 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre4 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre3 app/controllers/patron_relationship_types_controller.rb