~afontaine/home

8dd5ea8741f5e8dc7be9912be3d16c37d1b76a65 — Andrew Fontaine 9 months ago 0a2216f
Render Assigns Should be a Map

I am just so used to everything being a keyword list, but assigns should
be maps.
1 files changed, 1 insertions(+), 1 deletions(-)

M apps/home_web/lib/home_web.ex
M apps/home_web/lib/home_web.ex => apps/home_web/lib/home_web.ex +1 -1
@@ 40,7 40,7 @@ defmodule HomeWeb do
      # Include shared imports and aliases for views
      unquote(view_helpers())

      def render_shared(template, assigns \\ []) do
      def render_shared(template, assigns \\ %{}) do
        render(HomeWeb.SharedView, template, assigns)
      end
    end