diff --git a/lib/chiya_web.ex b/lib/chiya_web.ex index b314bf8..8d28ae0 100644 --- a/lib/chiya_web.ex +++ b/lib/chiya_web.ex @@ -91,6 +91,9 @@ defmodule ChiyaWeb do # Shortcut for generating JS commands alias Phoenix.LiveView.JS + # Custom functions + import ChiyaWeb.Format, only: [from_now: 1] + # Routes generation with the ~p sigil unquote(verified_routes()) end