module Fume::Cancan::WithScope
Public Instance Methods
resource_base()
click to toggle source
Calls superclass method
# File lib/fume/cancan/with_scope.rb, line 4 def resource_base base = super if (with_scope = @options[:with_scope]) @controller.instance_exec(super, &with_scope) else base end end