Skip to content

Commit

Permalink
Adding a few more updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Apr 17, 2024
1 parent f3a4b55 commit b164373
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><a href="https://devdojo.com" target="_blank"><img src="https://cdn.devdojo.com/images/april2024/devdojo-auth.png" width="auto" height="64px" alt="Auth Logo"></a></p>
<p align="center"><a href="https://devdojo.com" target="_blank"><img src="https://cdn.devdojo.com/images/april2024/Group%204.png" width="auto" height="64px" alt="Auth Logo"></a></p>
<br>
<p align="center">
<a href="https://github.com/thedevdojo/auth/actions"><img src="https://github.com/thedevdojo/auth/workflows/tests/badge.svg" alt="Build Status"></a>
Expand Down
10 changes: 9 additions & 1 deletion src/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

namespace Devdojo\Auth;

use Illuminate\Support\Facades\File;
use Illuminate\Support\ServiceProvider;
use Laravel\Folio\Folio;
use Illuminate\Support\Facades\File;
use Livewire\Volt\Volt;

class AuthServiceProvider extends ServiceProvider
{
Expand All @@ -23,6 +24,7 @@ public function boot()
$this->loadRoutesFrom(__DIR__.'/../routes/web.php');

$this->registerAuthFolioDirectory();
$this->registerVoltDirectory();

if ($this->app->runningInConsole()) {
$this->publishes([
Expand Down Expand Up @@ -61,6 +63,12 @@ private function registerAuthFolioDirectory(){
}
}

private function registerVoltDirectory(){
Volt::mount([
__DIR__ . '/../resources/views/pages'
]);
}

/**
* Register the application services.
*/
Expand Down

0 comments on commit b164373

Please sign in to comment.