Permalink
Browse files

Fix docs

  • Loading branch information...
1 parent 7fc5fc4 commit 8a18f99a27fba7bfce57ae511e20a43e288f3fde @balvig committed Nov 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -52,7 +52,7 @@ The context of the active_if block is the application controller so you can use
```ruby
# {feature}/lib/social_feature.rb
module SocialFeature
- extend Chili::Activatable
+ extend Chili::Base
active_if { logged_in? && current_user.admin? } # Feature is only visible to logged in admin users
end
```

0 comments on commit 8a18f99

Please sign in to comment.