Business intelligence made simple
Specify where to define before_action method in README under Authentication > Other (#162)
Justin Faulkner9ea9599eaa83
diff --git a/README.md b/README.mdindex 0fdef9a8..3a54a510 100644--- a/README.md+++ b/README.md@@ -153,6 +153,14 @@ Specify a `before_action` method to run in `blazer.yml`.```ymlbefore_action: require_admin```+Then define the custom authentication method in your `application_controller.rb`.++```ruby+def require_admin+ # depending on your auth, maybe something like...+ current_user && current_user.admin?+end+```## Queries