require 'url_plumber'
module FlexirailsHelper
def pagination_first_icon
return ''
end
def pagination_prev_icon
return ''
end
def pagination_last_icon
return ''
end
def pagination_next_icon
return ''
end
def render_flexirails_view view, opts = {}
return render partial: '/flexirails/container', locals: { view: view, table_class: opts.fetch(:class) { "" } }
end
def url_plumb(key, value)
url_for(::UrlPlumber::Plumber.new(params).plumb(key => value))
end
def url_batch_plumb(hash)
url_for(::UrlPlumber::Plumber.new(params).plumb(hash))
end
end