Sha256: 6211ef650ae78cc786964e0d17ea3cb220c0ab9ead4c111ae2a958659b0a5a88

Contents?: true

Size: 290 Bytes

Versions: 6

Compression:

Stored size: 290 Bytes

Contents

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

  def update
    if params[:move]
      move_position(@medium_of_performance, params[:move])
      return
    end
    update!
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre55 app/controllers/medium_of_performances_controller.rb
enju_biblio-0.1.0.pre54 app/controllers/medium_of_performances_controller.rb
enju_biblio-0.1.0.pre53 app/controllers/medium_of_performances_controller.rb
enju_biblio-0.1.0.pre52 app/controllers/medium_of_performances_controller.rb
enju_biblio-0.1.0.pre51 app/controllers/medium_of_performances_controller.rb
enju_biblio-0.1.0.pre50 app/controllers/medium_of_performances_controller.rb