Hi,
I'm just curious, whats the difference between the module/views and module/classes/view folder?
I can't seem to find any answer on this forum.
regards
Hi,
You can have these two folders but it's not the same kind of files you will have in each of them.
The "module/views" folder contains your views.
The "module/classe/view" folder contains your ViewModels classes which contains the logic needed to generate your views.
For more details about ViewModels, the documentation is pretty clear: http://fuelphp.com/docs/general/viewmodels.html.
For clarity: Sebastien is correct, the ViewModels still need views so you'll need both when using ViewModels and the "classes/view" dir can be ignored when you're just using Views.