Convert to new helper methods
Laravel 5 added several new helper functions, including: - `view()` - `response()` - `redirect()` - `config()` - `abort()` Review the [helpers][1] documentation for more details. [1]: https://laravel.com/docs/5.0/helpers
This commit is contained in:
parent
297c2bb30f
commit
3dac9828c8
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ use Illuminate\Http\Request;
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (\Config::get('app.url') !== 'http://localhost') {
|
if (config('app.url') !== 'http://localhost') {
|
||||||
URL::forceRootUrl(\Config::get('app.url'));
|
URL::forceRootUrl(config('app.url'));
|
||||||
}
|
}
|
||||||
|
|
||||||
Route::get('/userselect/{user}', 'Auth\LoginController@setUser')->name('user.set');
|
Route::get('/userselect/{user}', 'Auth\LoginController@setUser')->name('user.set');
|
||||||
|
|
Loading…
Reference in a new issue