Please sign in to comment.
Make return value of Controller:referer() consistent when returning l…
…ocal URLs. Before this fix if referrer is available the local URL returned does not have base appended but if a referrer is not found the URL returned using the default URL passed as argument gets returned with base appended. This inconsistency makes it difficult to have usage like `return $this->redirect($this->referrer('/default'));` when the app is in a subfolder as the base get appended twice.
- Loading branch information...
Showing with 13 additions and 2 deletions.