Sha256: bc1f8edc5a443a651f3934ee899491fc0f0677fc97fc73685bee4fe933c9782d

Contents?: true

Size: 301 Bytes

Versions: 47

Compression:

Stored size: 301 Bytes

Contents

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

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

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre49 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre48 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre47 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre46 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre45 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre44 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre43 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre42 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre41 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre40 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre39 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre38 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre37 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre36 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre35 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre34 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre33 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre32 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre31 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre30 app/controllers/extents_controller.rb