GRAILS-11150 fix typos
added protected to queryForResource example.
Public methods are automatically converted to controller actions, and this is not a public controller action.
Merge pull request #196 from scottdavis99/added_protected_to_queryForResource_2.3.x

added protected to queryForResource example.
Merge branches '2.3.x' and 'master'