<?php
/**
 * Created by PhpStorm.
 * User: shawnsandy
 * Date: 7/28/16
 * Time: 10:02 AM
 *
 */

Route::group( ['prefix' => 'page'], function () {

    Route::get('', function(){
        return view('page::index');
    });

    Route::get('{name}', function ($name) {
        return view('page::'.$name);
    });

    Route::group(['prefix' => 'admin'], function(){

        Route::get('{name}', function($name){
           return view('page::admin.'. $name);
        });
    });

});

<?php
/**
 * Created by PhpStorm.
 * User: shawnsandy
 * Date: 7/28/16
 * Time: 10:02 AM
 *
 */

Route::group( ['prefix' => 'page'], function () {

    Route::get('', function(){
        return view('page::index');
    });

    Route::get('{name}', function ($name) {
        return view('page::'.$name);
    });

    Route::group(['prefix' => 'admin'], function(){

        Route::get('/', function(){
            return view('page::admin.dashboard');
        });

        Route::get('/{name}', function($name){
           return view('page::admin.'. $name);
        });

    });

});

Change admin routh to dashboard
Change admin routh to dashboard
