Sha256: 6b1885cbc6a571c0037f3e01810a51e851fb1ab33e3a02fc949f37ec460153f1
Contents?: true
Size: 379 Bytes
Versions: 16
Compression:
Stored size: 379 Bytes
Contents
class EventCategoriesController < InheritedResources::Base respond_to :html, :xml load_and_authorize_resource def update @event_category = EventCategory.find(params[:id]) if params[:move] move_position(@event_category, params[:move]) return end update! end def index @event_categories = @event_categories.page(params[:page]) end end
Version data entries
16 entries across 16 versions & 1 rubygems