Sha256: 16f82ed59740cddbf0b8213f82048fc68f6afb0b2fab2d4cf21e7adae2e34b07

Contents?: true

Size: 310 Bytes

Versions: 6

Compression:

Stored size: 310 Bytes

Contents

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

  def update
    if params[:move]
      move_position(@manifestation_relationship_type, params[:move])
      return
    end
    update!
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre55 app/controllers/manifestation_relationship_types_controller.rb
enju_biblio-0.1.0.pre54 app/controllers/manifestation_relationship_types_controller.rb
enju_biblio-0.1.0.pre53 app/controllers/manifestation_relationship_types_controller.rb
enju_biblio-0.1.0.pre52 app/controllers/manifestation_relationship_types_controller.rb
enju_biblio-0.1.0.pre51 app/controllers/manifestation_relationship_types_controller.rb
enju_biblio-0.1.0.pre50 app/controllers/manifestation_relationship_types_controller.rb