fixing route.
This commit is contained in:
parent
b58c6370ee
commit
02db986627
|
@ -35,12 +35,6 @@
|
||||||
|
|
||||||
Route::get('/', function()
|
Route::get('/', function()
|
||||||
{
|
{
|
||||||
Config::set('database.connections.mysql.password', 'password');
|
|
||||||
Config::set('database.connections.mysql.database', 'bundler');
|
|
||||||
DB::table('users')->get();
|
|
||||||
DB::table('users')->where_id(1)->first();
|
|
||||||
DB::table('users')->where_in('id', array(1, 2, 3))->get();
|
|
||||||
Log::error('Something went wrong!');
|
|
||||||
return View::make('home.index');
|
return View::make('home.index');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue