Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ use Mix.Config
# logout_user: nil,
# modules: [
# Nested.ExAdmin.Dashboard,
# ]
# ],
# log_level: :debug
config :ex_admin,
repo: MyProject.Repo,
module: MyProject,
Expand Down
2 changes: 1 addition & 1 deletion web/web.ex
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ defmodule ExAdmin.Web do

def controller do
quote do
use Phoenix.Controller
use Phoenix.Controller, log: Application.get_env(:ex_admin, :log_level, :debug)

import Ecto.Schema
import Ecto.Query, only: [from: 1, from: 2]
Expand Down