Add top navigation

This commit is contained in:
Claudio Ortolina
2024-09-29 22:54:57 +01:00
parent 9553e66262
commit ccd3dbfa74
6 changed files with 29 additions and 3 deletions
@@ -6,6 +6,6 @@ defmodule MusicLibraryWeb.StatsController do
def index(conn, _params) do
records_count = Records.count_records()
record = Records.get_latest_record!()
render(conn, :index, records_count: records_count, record: record)
render(conn, :index, records_count: records_count, record: record, nav_section: :dashboard)
end
end