Business intelligence made simple
Fixed before_action docs [skip ci] - #186
Andrew8f039ce72f4c
diff --git a/README.md b/README.mdindex 187f569a..3368efab 100644--- a/README.md+++ b/README.md@@ -159,7 +159,7 @@ Then define the custom authentication method in your `application_controller.rb````rubydef require_admin# depending on your auth, maybe something like...- current_user && current_user.admin?+ redirect_to root_path unless current_user && current_user.admin?end```