Skip to content

How to Set the Default Dashboard

Dimitrios Zorbas edited this page Oct 27, 2016 · 1 revision

Given that you've defined multiple dashboards, you can set one of them to be the default

A request targeting the root path of your app (GET /) or the root path of your dashboards (GET dashboards/), will then redirect to the specified dashboard.

Let's say you have a dashboard called jobs defined in dashboards/jobs.html.eex.

You can make it the default by setting:

# File: config/config.exs

config :kitto, default_dashboard: "jobs" #, other config values