„lib/chiya_web.ex“ ändern
This commit is contained in:
parent
726de167a0
commit
7ecff5b5e5
1 changed files with 3 additions and 0 deletions
|
@ -91,6 +91,9 @@ defmodule ChiyaWeb do
|
||||||
# Shortcut for generating JS commands
|
# Shortcut for generating JS commands
|
||||||
alias Phoenix.LiveView.JS
|
alias Phoenix.LiveView.JS
|
||||||
|
|
||||||
|
# Custom functions
|
||||||
|
import ChiyaWeb.Format, only: [from_now: 1]
|
||||||
|
|
||||||
# Routes generation with the ~p sigil
|
# Routes generation with the ~p sigil
|
||||||
unquote(verified_routes())
|
unquote(verified_routes())
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue