Business intelligence made simple
Fixed redirect example - fixes #496
Andrew Kanec160be78acca
diff --git a/README.md b/README.mdindex 0c01852d..46014e6e 100644--- a/README.md+++ b/README.md@@ -154,7 +154,7 @@ You can define this method in your `ApplicationController`.```rubydef require_admin# depending on your auth, something like...- redirect_to root_path unless current_user && current_user.admin?+ redirect_to main_app.root_path unless current_user && current_user.admin?end```