Comment #⁨5⁩

Toby Toby Waterhole Founder Mar 25, 2024
In reply to K Kate

Ah, I see - that link is a part of Waterhole by default so I wasn't sure if it was the one you were talking about. But, it only shows up if there is a route named waterhole.register - and if you have set the allow_registration config to false (as you should when setting up the Laravel integration), then that route won't exist.

The solution is to register your own register route to redirect to your app's registration page, similar to what should already be doing for the login route:

Extend\ForumRoutes::add(function () {
    Route::name('register')->get(
        'register',
        fn() => redirect()
            ->setIntendedUrl(url()->previous())
            ->route('register'),
    );
});
  1. In reply to Toby Toby

    Hey @Toby, for the Laravel Integration portion of the docs, maybe you could add a step to create a symbolic link from public/storage to storage/app/public by running the command below. Otherwise the js/css files won't load when visiting the waterhole portion of the application.

    php artisan storage:link 

    I wasn't sure where to post this as I can't submit changes to the docs.