PDA

View Full Version : Index and views



sarah_77
11 Dec 2011, 11:59 PM
If I've an app with many views file ... do I've to insert all views in index.html page or is there another better solution for don't load all views in index page?

Thanks

rdougan
12 Dec 2011, 12:14 AM
If you are using our MVC structure, then if you define your view in your controller, it will automatically be loaded.

If not, then you will have to add each file into your index.html.

sarah_77
12 Dec 2011, 5:31 AM
So I can define in each controller views used and not in index.html page

OK?

Thanks