Clear up inconsistency in authorize_resource examples

Changed the explanation of the code in the example to have the same references and order as the related example code.