Skip to content

Commit 66deaa7

Browse files
committed
Fix method visibility in JsonApiExtra
1 parent d70e443 commit 66deaa7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gem/lib/pagy/extras/jsonapi.rb

+4-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ def initialize(value)
1818

1919
# Module overriding Backend
2020
module BackendOverride
21-
private
22-
2321
include UrlHelpers
2422

23+
private(*UrlHelpers.instance_methods)
24+
25+
private
26+
2527
# Return the jsonapi links
2628
def pagy_jsonapi_links(pagy, **opts)
2729
if defined?(::Pagy::Keyset) && pagy.is_a?(Keyset)

0 commit comments

Comments
 (0)