Module: Stiki::Authorize::Cancan
- Defined in:
- lib/stiki/authorize/cancan.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 |
# File 'lib/stiki/authorize/cancan.rb', line 4 def self.included(base) require 'cancan' require 'cancan/ability' base. base.class.name, :if => lambda {|c| Stiki. == :cancan } end |