Sha256: f2a04334fadad232f5504545bed3c39be342d903bef52a7d7c08e9f3db2c6620

Contents?: true

Size: 314 Bytes

Versions: 47

Compression:

Stored size: 314 Bytes

Contents

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

  def update
    @frequency = Frequency.find(params[:id])
    if params[:move]
      move_position(@frequency, params[:move])
      return
    end
    update!
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre49 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre48 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre47 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre46 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre45 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre44 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre43 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre42 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre41 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre40 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre39 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre38 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre37 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre36 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre35 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre34 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre33 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre32 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre31 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre30 app/controllers/frequencies_controller.rb