def order_link(order, options = {})
      link_to t("#{options[:i18n_scope]}.#{order}"), url_for(params.to_unsafe_h.merge(page: nil, order: order)), data: { order: order }, remote: true
    end
def order_link(order, options = {})
      link_to t("#{options[:i18n_scope]}.#{order}"), url_for(params.to_unsafe_h.merge(page: nil, order: order)), data: { order: order }, remote: true
    end
Public: Returns a resource url merging current params with order

 order - The name of the order criteria. i.e. 'random'
 options - An optional hash of options
         * i18n_scope - The scope of the i18n translations