lib/restpack_serializer/serializable/paging.rb in restpack_serializer-0.2.8 vs lib/restpack_serializer/serializable/paging.rb in restpack_serializer-0.2.9

- old
+ new

@@ -55,10 +55,10 @@ end def page_href(page, options) return nil unless page - url = "#{RestPack::Serializer.href_prefix}/#{self.key}.json" + url = "#{RestPack::Serializer.config.href_prefix}/#{self.key}.json" params = [] params << "page=#{page}" unless page == 1 params << "page_size=#{options.page_size}" unless options.default_page_size? params << "includes=#{options.includes.join(',')}" if options.includes.any?