mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-23 03:16:00 +08:00
cc9d5a8103
* Render modal components at the end of live views * Add error pages * Restructure web module * Update lib/livebook_web/templates/error/500.html.eex Co-authored-by: José Valim <jose.valim@dashbit.co> * Update lib/livebook_web/templates/error/500.html.eex Co-authored-by: José Valim <jose.valim@dashbit.co> * Update lib/livebook_web/views/error_view.ex Co-authored-by: José Valim <jose.valim@dashbit.co> Co-authored-by: José Valim <jose.valim@dashbit.co>
8 lines
151 B
Elixir
8 lines
151 B
Elixir
defmodule LivebookWeb.ErrorView do
|
|
use LivebookWeb, :view
|
|
|
|
def template_not_found(_template, assigns) do
|
|
render("500.html", assigns)
|
|
end
|
|
end
|