chore: update phoenix to version 1.8.0-rc.3

This commit is contained in:
Moritz 2025-07-03 20:44:24 +02:00
parent 5b6e5713ec
commit fb9a3cd063
Signed by: moritz
GPG key ID: 1020A035E5DD0824
28 changed files with 1769 additions and 674 deletions

View file

@ -38,9 +38,7 @@ defmodule MvWeb do
def controller do
quote do
use Phoenix.Controller,
formats: [:html, :json],
layouts: [html: MvWeb.Layouts]
use Phoenix.Controller, formats: [:html, :json]
use Gettext, backend: MvWeb.Gettext
@ -52,8 +50,7 @@ defmodule MvWeb do
def live_view do
quote do
use Phoenix.LiveView,
layout: {MvWeb.Layouts, :app}
use Phoenix.LiveView
unquote(html_helpers())
end
@ -90,8 +87,9 @@ defmodule MvWeb do
# Core UI components
import MvWeb.CoreComponents
# Shortcut for generating JS commands
# Common modules used in templates
alias Phoenix.LiveView.JS
alias MvWeb.Layouts
# Routes generation with the ~p sigil
unquote(verified_routes())