Is there a way to change the default position of the blade template files on disk?

on a stock installation, doing something like

View::make('list')

looks for the file list.blade.php in the directory app/views

Lets say that we want these to be on the public/templates directory (I know, its bad practices, but lets just accept that for the sake of the example).

Any clues on how this can be accomplished?

TIA

有帮助吗?

解决方案

Just to answer my question - one of the situations where the answer is just in front of you but for some reason you cannot seem to find it - you can set that in:

config/views.php

you can add as many paths as you wish there.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top