1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 07:24:27 +02:00

Rework public API based on events

This commit is contained in:
Toby Zerner
2015-07-18 22:59:47 +09:30
parent 5085c09c30
commit 57650fa648
136 changed files with 1157 additions and 1245 deletions

View File

@@ -1,6 +1,7 @@
<?php namespace Flarum\Forum;
use Flarum\Core\Users\Guest;
use Flarum\Events\RegisterForumRoutes;
use Flarum\Http\RouteCollection;
use Flarum\Http\UrlGenerator;
use Flarum\Support\ServiceProvider;
@@ -110,6 +111,8 @@ class ForumServiceProvider extends ServiceProvider
'flarum.forum.savePassword',
$this->action('Flarum\Forum\Actions\SavePasswordAction')
);
event(new RegisterForumRoutes($routes));
}
protected function action($class)