Update application_helper_patch.rb

fixed issue with visibility for resources