Skip to content

Commit

Permalink
基础页面结构
Browse files Browse the repository at this point in the history
  • Loading branch information
summerblue committed Sep 19, 2019
1 parent 44f16fe commit 2f7775a
Show file tree
Hide file tree
Showing 20 changed files with 64,510 additions and 118 deletions.
13 changes: 13 additions & 0 deletions app/Http/Controllers/PagesController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class PagesController extends Controller
{
public function root()
{
return view('pages.root');
}
}
6 changes: 6 additions & 0 deletions app/helpers.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

function route_class()
{
return str_replace('.', '-', Route::currentRouteName());
}
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"require-dev": {
"facade/ignition": "^1.4",
"fzaninotto/faker": "^1.4",
"laravel/ui": "^1.0",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^3.0",
"phpunit/phpunit": "^8.0"
Expand Down
65 changes: 64 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2f7775a

Please sign in to comment.