This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Place the TraitMakeCommand.php file inside App\Console\Commands | |
Place the trait.stub file inside App\Console\Commands\stubs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<ul class="pagination" v-if="data.total > data.per_page"> | |
<li class="page-item pagination-prev-nav" v-if="data.prev_page_url"> | |
<a class="page-link" href="#" aria-label="Previous" @click.prevent="selectPage(--data.current_page)"> | |
<slot name="prev-nav"> | |
<span aria-hidden="true">«</span> | |
<span class="sr-only">Previous</span> | |
</slot> | |
</a> | |
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
use Illuminate\Support\ServiceProvider; | |
class GoogleDriveServiceProvider extends ServiceProvider | |
{ | |
/** | |
* Bootstrap the application services. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function canonical() | |
{ | |
$route = Route::current(); | |
if (!$route) { | |
return false; | |
} | |
$action = $route->getAction(); | |
if (!$action) { |
NewerOlder