RailsCasts Pro episodes are now free!

Learn more or hide this

tommyadey's Profile

GitHub User: tommyadey

Comments by

Avatar

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?