Closed stjhimy closed 3 years ago
The setup goes without error but then when accessing the routes:
[debug] Processing with ExAdmin.AdminController.dashboard/2 Parameters: %{} Pipelines: [:browser] [error] #PID<0.1009.0> running Haitracker.Endpoint terminated Server: localhost:4000 (http) Request: GET /admin ** (exit) an exception was raised: ** (FunctionClauseError) no function clause matching in Phoenix.Template.HTML.encode_to_iodata!/1 (phoenix) lib/phoenix/template/html.ex:12: Phoenix.Template.HTML.encode_to_iodata!(%{error: %{code: 500, message: "Server error"}}) (phoenix) lib/phoenix/controller.ex:740: Phoenix.Controller.do_render/4 (phoenix) lib/phoenix/endpoint/render_errors.ex:60: Phoenix.Endpoint.RenderErrors.__catch__/5 (plug) lib/plug/adapters/cowboy/handler.ex:16: Plug.Adapters.Cowboy.Handler.upgrade/4 (cowboy) /home/stjhimy/Desktop/haitracker-be-backup/haitracker-be/deps/cowboy/src/cowboy_protocol.erl:442: :cowboy_protocol.execute/4
Elixir - 1.5.2 Phoenix - 1.3.2 ex_admin - github version
The setup goes without error but then when accessing the routes:
Elixir - 1.5.2 Phoenix - 1.3.2 ex_admin - github version