mirror of
https://github.com/flarum/core.git
synced 2025-10-12 23:44:27 +02:00
Ensure we don't preload index data on non-index pages
This commit is contained in:
@@ -67,19 +67,19 @@ class ForumServiceProvider extends ServiceProvider
|
||||
$routes->get(
|
||||
'/u/{username}[/{filter}]',
|
||||
'flarum.forum.user',
|
||||
$this->action('Flarum\Forum\Actions\IndexAction')
|
||||
$this->action('Flarum\Forum\Actions\ClientAction')
|
||||
);
|
||||
|
||||
$routes->get(
|
||||
'/settings',
|
||||
'flarum.forum.settings',
|
||||
$this->action('Flarum\Forum\Actions\IndexAction')
|
||||
$this->action('Flarum\Forum\Actions\ClientAction')
|
||||
);
|
||||
|
||||
$routes->get(
|
||||
'/notifications',
|
||||
'flarum.forum.notifications',
|
||||
$this->action('Flarum\Forum\Actions\IndexAction')
|
||||
$this->action('Flarum\Forum\Actions\ClientAction')
|
||||
);
|
||||
|
||||
$routes->get(
|
||||
|
Reference in New Issue
Block a user