Revert the other use of the request object on utility functions.

8.0.x
Larry Garfield 2012-03-31 20:20:28 -05:00
parent a764bd3fbb
commit b7ff116279
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ function drupal_match_path($path, $patterns) {
* @see request_path()
*/
function current_path() {
return request()->attributes->get('system_path');
return $_GET['q'];
}
/**