This file contains hidden or 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; | |
| use Illuminate\Foundation\Auth\User as Authenticatable; | |
| use Illuminate\Support\Facades\Auth; | |
| use Illuminate\Support\Facades\DB; | |
| class User extends Authenticatable | |
| { |
This file contains hidden or 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; | |
| use Illuminate\Database\Eloquent\Model; | |
| use Illuminate\Support\Facades\Auth; | |
| use Illuminate\Support\Facades\DB; | |
| class Bookmark extends Model | |
| { |
This file contains hidden or 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 | |
| use App\User; | |
| function flash($title=null, $message=null){ | |
| $flash=app('App\Http\Flash'); | |
| if (func_num_args()==0){ | |
| return $flash; | |
| } | |
| return $flash->info($title, $message); |
This file contains hidden or 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
| # use in your css file | |
| # @import url('https://fonts.googleapis.com/css?family=Ubuntu' | |
| # Or use your theme.libraries.yml | |
| global-styling: | |
| version: 1.x | |
| css: | |
| theme: | |
| font-awesome/css/font-awesome.css: {} | |
| css/bootstrap.css: {} | |
| css/styles.css: {} |
This file contains hidden or 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
| var imported = document.createElement('script'); | |
| imported.src = './path/assets/js/custom.js'; | |
| document.head.appendChild(imported); |
OlderNewer