View Source DbInfo.Router (DbInfo v0.1.0)

Provides View routing for DbInfo.

Link to this section Summary

Functions

Defines a DbInfo route. It expects the path the dashboard will be mounted at.

Link to this section Functions

Defines a DbInfo route. It expects the path the dashboard will be mounted at.

This will also generate a named helper called db_info_path/2 which you can use to link directly to the dashboard, such as:

<%= link "DbInfo", to: dbinfo_path(conn, :home) %>