Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix docs

  • Loading branch information...
commit 8a18f99a27fba7bfce57ae511e20a43e288f3fde 1 parent 7fc5fc4
@balvig authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -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
```
Please sign in to comment.
Something went wrong with that request. Please try again.