ryanb/cancan — Issue #576: can? :read, ModelName return false, but work
Author: mkrajewski
Created: 2012-03-08 11:16:54+00:00
State: open

Hi!

I have a little problem. In ability.rb when I define
can :read, ModelName
when I try in view
can? :read, @obj
it return false (of course in browser all is ok), and when I change ability to
can :read. :all
in
can? :read @obj
return true (and that is ok).

Cab anybody help me? : )