Sha256: d5911b4054a8978c9e69a4b13c525201b1223d02303df71e2b09b0449fd219dd
Contents?: true
Size: 323 Bytes
Versions: 47
Compression:
Stored size: 323 Bytes
Contents
class ProduceTypesController < InheritedResources::Base respond_to :html, :json has_scope :page, :default => 1 load_and_authorize_resource def update @produce_type = ProduceType.find(params[:id]) if params[:move] move_position(@produce_type, params[:move]) return end update! end end
Version data entries
47 entries across 47 versions & 1 rubygems