Sha256: ec9a73dfe183d535bd25fd0377b8a00ecbc4e039082e04de25d5150a516fb8c7

Contents?: true

Size: 269 Bytes

Versions: 6

Compression:

Stored size: 269 Bytes

Contents

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

  def update
    if params[:move]
      move_position(@frequency, 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/frequencies_controller.rb
enju_biblio-0.1.0.pre54 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre53 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre52 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre51 app/controllers/frequencies_controller.rb
enju_biblio-0.1.0.pre50 app/controllers/frequencies_controller.rb