Sha256: 37fe3195d39158578055a61a9061b7b30095de0341f149bc926bc4fc17e36108

Contents?: true

Size: 397 Bytes

Versions: 47

Compression:

Stored size: 397 Bytes

Contents

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

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

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre9 app/controllers/manifestation_relationship_types_controller.rb
enju_biblio-0.1.0.pre8 app/controllers/manifestation_relationship_types_controller.rb
enju_biblio-0.1.0.pre7 app/controllers/manifestation_relationship_types_controller.rb
enju_biblio-0.1.0.pre6 app/controllers/manifestation_relationship_types_controller.rb
enju_biblio-0.1.0.pre5 app/controllers/manifestation_relationship_types_controller.rb
enju_biblio-0.1.0.pre4 app/controllers/manifestation_relationship_types_controller.rb
enju_biblio-0.1.0.pre3 app/controllers/manifestation_relationship_types_controller.rb