Editable workshops.

This commit is contained in:
codevictory
2021-07-06 19:06:20 +03:00
parent eb93d7afc1
commit b4a22b68d2
17 changed files with 473 additions and 15 deletions

View File

@@ -6,7 +6,9 @@ defmodule RunosaariWeb.PerformanceController do
def index(conn, _params) do
performances = Schedule.list_sorted_performances()
render(conn, "index.html", performances: performances)
workshops = Schedule.list_sorted_workshops()
render(conn, "index.html", Map.new(performances: performances, workshops: workshops))
end
def admin(conn, _params) do