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