Sha256: 1f758701c6b35958b7c7a624bfd87c9735d9935e83910106fd923ab2a26d9bf8

Contents?: true

Size: 336 Bytes

Versions: 11

Compression:

Stored size: 336 Bytes

Contents

class PatronRelationshipTypesController < InheritedResources::Base
  respond_to :html, :json
  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

11 entries across 11 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre2 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.1.0.pre app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.0.9 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.0.8 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.0.7 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.0.6 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.0.5 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.0.4 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.0.3 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.0.2 app/controllers/patron_relationship_types_controller.rb
enju_biblio-0.0.1 app/controllers/patron_relationship_types_controller.rb