Skip to content

Commit

Permalink
Redirect to /hardware to finish cleaning up re-routing from #88
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Nov 28, 2013
1 parent 6a5ccc8 commit d2959e8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions app/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,11 @@
|
*/

// default admin screen until we get a fancy dashboard up
Route::get('/', array('as' => 'hardware', 'uses' => 'Controllers\Admin\AssetsController@getIndex'));
Route::get('reports', array('as' => 'reports', 'uses' => 'Controllers\Admin\AssetsController@getReports'));

// Redirect requests to / to the hardware section until we get a fancy dashboard set up
Route::get('/', function()
{
return Redirect::to('hardware');
});
Route::get('/', array('as' => 'home', 'uses' => 'Controllers\Admin\AssetsController@getIndex'));
Route::get('reports', array('as' => 'reports', 'uses' => 'Controllers\Admin\AssetsController@getReports'));

0 comments on commit d2959e8

Please sign in to comment.