app/helpers/pagelets_helper.rb in pagelet_rails-0.1.2 vs app/helpers/pagelets_helper.rb in pagelet_rails-0.1.3

- old
+ new

@@ -47,10 +47,10 @@ Rails.logger.info "Rendering pagelet #{path}" p_params = p_options.delete(:params) { {} }.with_indifferent_access if path.is_a? Symbol - path = self.send("#{path}_path", p_params) + path = self.send("#{path}_url", p_params) else uri = URI(path) p_params.merge! Rack::Utils.parse_nested_query(uri.query) p_options.merge! remote: false end