Sha256: deceef63ffe32ddeaadb50d6c79c2e58ab4e68873cab404e25c51d691adef5fe

Contents?: true

Size: 319 Bytes

Versions: 40

Compression:

Stored size: 319 Bytes

Contents

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

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

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre42 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre41 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre40 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre39 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre38 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre37 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre36 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre35 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre34 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre33 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre32 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre31 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre30 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre29 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre28 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre27 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre26 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre25 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre24 app/controllers/patron_types_controller.rb
enju_biblio-0.1.0.pre23 app/controllers/patron_types_controller.rb