routes.php

<?php

/*
  |--------------------------------------------------------------------------
  | 前台
  |--------------------------------------------------------------------------
  |
  |
 */
Route::any('/contact', array('as' => 'contact', 'uses' => 'ContactController@index'));




/*
  |--------------------------------------------------------------------------
  | 后台
  |--------------------------------------------------------------------------
  |
  |
 */
Route::get('/admin/contact', array('as' => 'admin_contact', 'uses' => 'ContactController@admin'));