mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-04 18:38:15 +00:00
c9e4200ed2
This makes views depend on each other at runtime instead of compile-time
11 lines
352 B
Elixir
11 lines
352 B
Elixir
# Pleroma: A lightweight social networking server
|
|
# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
defmodule Pleroma.Web.PleromaAPI.NotificationView do
|
|
use Pleroma.Web, :view
|
|
alias Pleroma.Web.MastodonAPI
|
|
|
|
def render(view, opts), do: MastodonAPI.NotificationView.render(view, opts)
|
|
end
|