Sha256: fa2cabd3ffbbe623da666e90f61ad4d71a3a48b2fa3f674e0c86b8c012aad86b

Contents?: true

Size: 273 Bytes

Versions: 6

Compression:

Stored size: 273 Bytes

Contents

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

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