Move paginator helpers to the top core namespace
parent
114616772b
commit
f50fb44146
@ -1,7 +1,6 @@
|
||||
defmodule Plausible.Plugins.API.Pagination do
|
||||
defmodule Plausible.Pagination do
|
||||
@moduledoc """
|
||||
Cursor-based pagination for the Plugins API.
|
||||
Can be moved to another namespace in case used elsewhere.
|
||||
Cursor-based pagination.
|
||||
"""
|
||||
|
||||
@limit 10
|
||||
@ -1,7 +1,7 @@
|
||||
defmodule Plausible.Plugins.API.PaginationTest do
|
||||
defmodule Plausible.PaginationTest do
|
||||
use Plausible.DataCase, async: true
|
||||
|
||||
alias Plausible.Plugins.API.Pagination
|
||||
alias Plausible.Pagination
|
||||
import Ecto.Query
|
||||
|
||||
setup do
|
||||
Loading…
Reference in New Issue