added support for named views.
This commit is contained in:
30
application/config/view.php
Normal file
30
application/config/view.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Named Views
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you can define all of the named views for your application.
|
||||
|
|
||||
| Once you have defined the named view, you can create a View instance for
|
||||
| that view using the View::of dynamic static method.
|
||||
|
|
||||
| For example, if you define a named view named "layout", you could create
|
||||
| an instance of that View by calling: View::of_layout().
|
||||
|
|
||||
| For more info, check out: http://laravel.com/docs/start/views#named
|
||||
|
|
||||
| Note: The view path should be relative to the application/view directory.
|
||||
|
|
||||
*/
|
||||
|
||||
'names' => array(
|
||||
|
||||
'home' => 'home/index',
|
||||
|
||||
),
|
||||
|
||||
);
|
||||
Reference in New Issue
Block a user