Skip to content

DefactoSoftware/NotFoundRoute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hex pm

NotFoundRoute

Shows the routes in a (non umbrella) phoenix app with a live filter through all routes. This is only enabled in :dev mode

search

Needed to run:

  • Phoenix > 1.4
  • LiveView (only needed for search)

Install

Add to mix.exs

def deps do
  # ...
  {:not_found_route, "0.0.2"}
end

In lib/my_app_web/router.ex

defmodule MyAppWeb.Router do
  # ...
  import NotFoundRouteWeb.Router
  # ...

  # Add this as last route in the "/" scope
  live_not_found()
end

Usage

Go to a route that is not defined in the router, for example /not-found where a page comes up with all the routes available in your appp.

Search works for each column, when clicking on a column search will work only for that column.

About

An overview of all routes in your Phoenix project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published