Module: Rexport::ExportItemSortingsControllerMethods

Defined in:
lib/rexport/export_item_sortings_controller_methods.rb

Instance Method Summary collapse

Instance Method Details

#updateObject



3
4
5
6
7
8
9
10
11
# File 'lib/rexport/export_item_sortings_controller_methods.rb', line 3

def update
  ExportItem.resort(params[:sorted_items])

  respond_to do |format|
    format.js do
      head :ok
    end
  end
end