Skip to content

Business intelligence made simple

Fixes documentation and template for `user_method` and `user_name` (#112)

Jan Hovancik1c087fb845bc
diff --git a/README.md b/README.md
index b9994e5a..8b4e19a2 100644
--- a/README.md
+++ b/README.md
@@ -663,7 +663,10 @@ audit: true
# class name of the user model
# user_class: User
-# method name for the user model
+# method name for the current user
+# user_method: current_user
+
+# method name for the display name
# user_name: name
# email to send checks from
diff --git a/lib/generators/blazer/templates/config.yml b/lib/generators/blazer/templates/config.yml
index 623394a0..d60ac6c1 100644
--- a/lib/generators/blazer/templates/config.yml
+++ b/lib/generators/blazer/templates/config.yml
@@ -41,7 +41,10 @@ audit: true
# class name of the user model
# user_class: User
-# method name for the user model
+# method name for the current user
+# user_method: current_user
+
+# method name for the display name
# user_name: name
# optional auth method to use as a before_action (default: nil)