Sha256: 3a8b67fede03b615e9abdac946cb51d89504309171b390fab3533f8eb63a9258
Contents?: true
Size: 309 Bytes
Versions: 18
Compression:
Stored size: 309 Bytes
Contents
class LanguagesController < InheritedResources::Base respond_to :html, :json has_scope :page, :default => 1 load_and_authorize_resource def update @language = Language.find(params[:id]) if params[:move] move_position(@language, params[:move]) return end update! end end
Version data entries
18 entries across 18 versions & 1 rubygems