lib/neat_pages/helpers.rb in neat-pages-0.1.5 vs lib/neat_pages/helpers.rb in neat-pages-0.1.6

- old
+ new

@@ -2,10 +2,10 @@ def neat_pages_ajax_items(partial_path, options={}) ('<div id="neat-pages-ajax-wrapper" class="first-load">' + render(partial_path, options) + '</div>').html_safe end def neat_pages_base_url - request.protocol + request.host + request.path_info + "#{request.protocol}#{request.host}#{request.port == 80 ? '' : ':' + request.port.to_s}#{request.path_info}" end def neat_pages_base_params request.env['action_dispatch.request.query_parameters'] end