finx the undefined method 'app_path'