Phoenix API Versions v1.1.0 PhoenixApiVersions.View View Source
A macro to be used in the view macro in a Phoenix application’s Web module. (The file containing this module is typically called web.ex)
Required for installation of the PhoenixApiVersions library.
Example
# In web.ex
def view do
quote do
# ...
use PhoenixApiVersions.View # <----- Add this
# ...
end
end