Skip to content

Commit

Permalink
Merge pull request #41 from BRACKETS-by-TRIAD/hotfix/removing-inspiri…
Browse files Browse the repository at this point in the history
…ng-class

🐛 bugfix: Removing 'Inspiring' from project.
  • Loading branch information
vsotreshko authored Sep 16, 2022
2 parents d7d72d0 + 389cad3 commit 616b220
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Http/Controllers/AdminHomepageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Brackets\AdminAuth\Http\Controllers;

use Illuminate\Contracts\View\Factory;
use Illuminate\Foundation\Inspiring;
use Illuminate\View\View;

class AdminHomepageController extends Controller
Expand All @@ -15,9 +14,8 @@ class AdminHomepageController extends Controller
*/
public function index()
{
$inspiringQuote = Inspiring::quotes()->random();

[$quote, $quoteAuthor] = explode(' - ', $inspiringQuote);
$quote = 'Well begun is half done.';
$quoteAuthor = 'Aristotle';

return view('brackets/admin-auth::admin.homepage.index', [
'quote' => $quote,
Expand Down

0 comments on commit 616b220

Please sign in to comment.