Default extension of view file is ".ctp".

We can change default extension to write public $ext = '.yourextension' in AppController. If you want to change it for particular controller then please add it into that particular controller only. You can also change it for the specific action of the controller by putting it in that action only.

Suggest An Answer

No suggestions Available!