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
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
namespace App\Http\Controllers\Admin;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use App\Http\Controllers\Controller;
|
||||
|
||||
class HomeController extends Controller
|
||||
{
|
||||
public function welcome()
|
||||
{
|
||||
return view('welcome', ['name' => config('admin.user')]);
|
||||
return view('admin.welcome', ['name' => config('admin.user')]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
# Changelog
|
||||
|
||||
## Version 0.3.3 (2017-03-03)
|
||||
- Fix issue when accessing /admin
|
||||
|
||||
## Version 0.3.2 (2017-03-03)
|
||||
- Remove route closures to allow route:cache-ing
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ Route::group(['domain' => config('url.longurl')], function () {
|
|||
'namespace' => 'Admin',
|
||||
'prefix' => 'admin',
|
||||
], function () {
|
||||
Route::get('/', 'HomeConrtoller@welcome');
|
||||
Route::get('/', 'HomeController@welcome');
|
||||
|
||||
//Articles
|
||||
Route::group(['prefix' => 'blog'], function () {
|
||||
|
|
Loading…
Add table
Reference in a new issue