Browse Source

fix: group list_notes together

main
Inhji Y. 8 months ago
parent
commit
a283dc11af
  1. 8
      lib/mirage/notes.ex

8
lib/mirage/notes.ex

@ -81,10 +81,6 @@ defmodule Mirage.Notes do
Repo.all(q)
end
def today_title() do
Timex.now() |> Timex.format!("{YYYY}-{0M}-{D}")
end
def list_notes(:today) do
date_title = today_title()
@ -108,6 +104,10 @@ defmodule Mirage.Notes do
end
end
def today_title() do
Timex.now() |> Timex.format!("{YYYY}-{0M}-{D}")
end
@doc """
Gets a single note.

Loading…
Cancel
Save