mirror of
https://github.com/flarum/core.git
synced 2025-10-22 04:06:37 +02:00
Pass action in RenderView event so that handler can access actor
This commit is contained in:
@@ -50,7 +50,7 @@ class IndexAction extends BaseAction
|
||||
$root.'/less/forum/app.less'
|
||||
]);
|
||||
|
||||
event(new RenderView($view, $assetManager));
|
||||
event(new RenderView($view, $assetManager, $this));
|
||||
|
||||
return $view
|
||||
->with('styles', $assetManager->getCSSFiles())
|
||||
|
Reference in New Issue
Block a user