Skip to content

Instantly share code, notes, and snippets.

View jiegillet's full-sized avatar

Jie jiegillet

  • Steady Media
  • Okinawa, Japan
View GitHub Profile
defmodule Mix.Tasks.ConvertToVerifiedRoutes do
@moduledoc """
Replaces routes with verified routes.
Forked from
https://gist.github.com/andreaseriksson/e454b9244a734310d4ab74d8595f98cd
This requires all routes to consistently be aliased with
alias MyAppWeb.Router.Helpers, as: Routes
Run with