@@ -122,7 +122,7 @@ |
||
| 122 | 122 | * Handle a registration request for the application. |
| 123 | 123 | * |
| 124 | 124 | * @param \Illuminate\Http\Request $request |
| 125 | - * @return \Illuminate\Http\Response |
|
| 125 | + * @return \Illuminate\Http\RedirectResponse |
|
| 126 | 126 | */ |
| 127 | 127 | public function register(Request $request) |
| 128 | 128 | { |
@@ -57,10 +57,10 @@ |
||
| 57 | 57 | |
| 58 | 58 | // Set up redirect paths if not specified |
| 59 | 59 | $this->loginPath = property_exists($this, 'loginPath') ? $this->loginPath |
| 60 | - : config('backpack.base.route_prefix', 'admin') . '/login'; |
|
| 60 | + : config('backpack.base.route_prefix', 'admin').'/login'; |
|
| 61 | 61 | |
| 62 | 62 | $this->redirectTo = property_exists($this, 'redirectTo') ? $this->redirectTo |
| 63 | - : config('backpack.base.route_prefix', 'admin') . '/dashboard'; |
|
| 63 | + : config('backpack.base.route_prefix', 'admin').'/dashboard'; |
|
| 64 | 64 | |
| 65 | 65 | $this->redirectAfterLogout = property_exists($this, 'redirectAfterLogout') ? $this->redirectAfterLogout |
| 66 | 66 | : config('backpack.base.route_prefix', 'admin'); |