feat: add paste id for showlink

This commit is contained in:
Akshit Garg 2022-02-16 16:37:05 +05:30 committed by GitHub
parent 5820652ac1
commit bec57794fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,8 @@ defmodule KetbinWeb.PageController do
render(conn, "show.html",
paste: paste,
show_edit: show_edit,
extension: if(tail == [], do: "", else: tail)
extension: if(tail == [], do: "", else: tail),
page_title: paste.id
)
end