Packages

Csv2SqlDashboard is a blazing fast fully automated tool to load huge CSV files into a RDBMS.

Current section

Files

Jump to
csv2sqldashboard lib dashboard_web router.ex
Raw

lib/dashboard_web/router.ex

defmodule DashboardWeb.Router do
use DashboardWeb, :router
pipeline :browser do
plug :accepts, ["html"]
plug :fetch_session
plug :fetch_live_flash
plug :put_root_layout, {DashboardWeb.LayoutView, :root}
plug :protect_from_forgery
plug :put_secure_browser_headers
end
scope "/", DashboardWeb do
pipe_through :browser
live "/", Live.MainLive, :index
end
end