Skip to content

Instantly share code, notes, and snippets.

View rcdilorenzo's full-sized avatar
🙌
Working in His Kingdom (Col 3:17)

Christian Di Lorenzo rcdilorenzo

🙌
Working in His Kingdom (Col 3:17)
View GitHub Profile
defmodule Controller.Main do
use Weber.Controller
render_when_raise :unauthorized, {:text, 401, "Unauthorized.", []}
layout false
def action(_, conn) do
{:render, [project: "simpleTodo"], []}