You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/customization/integrating_custom_view_libs.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,12 @@ If your application uses a different method to convert view files to HTML than C
5
5
All controllers and actions use the `CodeIgniter\Shield\Traits\Viewable` trait which provides a simple `view()` method that takes the same arguments as the `view()` helper. This allows you to extend the Action or Controller and only change the single method of rendering the view, leaving all of the logic untouched so your app will not need to maintain Shield logic when it doesn't need to change it.
6
6
7
7
```php
8
+
<?php
9
+
10
+
declare(strict_types=1);
11
+
12
+
namespace App\Controllers;
13
+
8
14
use Acme\Themes\Traits\Themeable;
9
15
use CodeIgniter\Shield\Controllers\LoginController;
0 commit comments