CakePHP: view containing underscore in filename not working -


trying use cakephp naming conventions in naming view file.

here controller (/app/controller/callbackscontroller.php):

<?php app::uses('appcontroller', 'controller');  class callbackscontroller extends appcontroller {      public function googleplus() {      } }  ?> 

i have named view /app/view/callbacks/google_plus.ctp.

when try go view http://mycakephpapp.dev/callbacks/google_plus.ctp, gives following error:

missing method in callbackscontroller

error: action google_plus not defined in controller callbackscontroller

error: create callbackscontroller::google_plus() in file: app\controller\callbackscontroller.php.

if rename view googleplus.ctp, works fine.

can shed light on why particular naming convention not working?

by cake standards both view , function should named google_plus.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -