Permalink
Browse files

Changed sample ACL rules file to use new rule declaration format.

  • Loading branch information...
1 parent 770dfc0 commit 24333425bce9fb07839402b31a8d62f823079647 @jeremeamia jeremeamia committed Aug 9, 2010
Showing with 2 additions and 9 deletions.
  1. +2 −9 acl.php
View
11 acl.php
@@ -1,13 +1,6 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
-// Allow all to access the userguide
-ACL::add_rule(ACL::rule()
- ->for_controller('userguide')
- ->allow_all()
-);
-
// Allow all to access the welcome controller
-ACL::add_rule(ACL::rule()
+ACL::rule()
->for_controller('welcome')
- ->allow_all()
-);
+ ->allow_all();

0 comments on commit 2433342

Please sign in to comment.