module PassionView::Sortable::Controller

Public Instance Methods

sort_params() click to toggle source
# File lib/passion_view/sortable.rb, line 81
def sort_params
  params.permit(:sort, :direction).to_h
end