Sha256: 7d37b20100e649a7ff30b13bad906d927695a76339beb4ac23c0c4890d71142f

Contents?: true

Size: 264 Bytes

Versions: 6

Compression:

Stored size: 264 Bytes

Contents

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

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