RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: tommyadey
I don't understand this line in the allow? method.
allowed && (allowed == true || resource && allowed.call(resource))
Could someone break it down for me please?
I don't understand this line in the allow? method.
Could someone break it down for me please?