valid_app_const? -> valid_const?
Merge pull request #10950 from appscape-forks/fix-wrong-method-name

Fix wrong method name