Sha256: 15d2d57071623c970c24d194812fa4a0e5ed517f49bca78b55c5dabb2b3e0369

Contents?: true

Size: 262 Bytes

Versions: 6

Compression:

Stored size: 262 Bytes

Contents

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

  def update
    if params[:move]
      move_position(@extent, 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/extents_controller.rb
enju_biblio-0.1.0.pre54 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre53 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre52 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre51 app/controllers/extents_controller.rb
enju_biblio-0.1.0.pre50 app/controllers/extents_controller.rb