Merge branch 'release/0.3.3'
This commit is contained in:
commit
6befc9b075
3 changed files with 7 additions and 3 deletions
|
@ -1,13 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Http\Controllers;
|
namespace App\Http\Controllers\Admin;
|
||||||
|
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
|
||||||
class HomeController extends Controller
|
class HomeController extends Controller
|
||||||
{
|
{
|
||||||
public function welcome()
|
public function welcome()
|
||||||
{
|
{
|
||||||
return view('welcome', ['name' => config('admin.user')]);
|
return view('admin.welcome', ['name' => config('admin.user')]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## Version 0.3.3 (2017-03-03)
|
||||||
|
- Fix issue when accessing /admin
|
||||||
|
|
||||||
## Version 0.3.2 (2017-03-03)
|
## Version 0.3.2 (2017-03-03)
|
||||||
- Remove route closures to allow route:cache-ing
|
- Remove route closures to allow route:cache-ing
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ Route::group(['domain' => config('url.longurl')], function () {
|
||||||
'namespace' => 'Admin',
|
'namespace' => 'Admin',
|
||||||
'prefix' => 'admin',
|
'prefix' => 'admin',
|
||||||
], function () {
|
], function () {
|
||||||
Route::get('/', 'HomeConrtoller@welcome');
|
Route::get('/', 'HomeController@welcome');
|
||||||
|
|
||||||
//Articles
|
//Articles
|
||||||
Route::group(['prefix' => 'blog'], function () {
|
Route::group(['prefix' => 'blog'], function () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue