Fix defined check in View::url

When checking for `URL_REWRITING_ALL` we should first check if it's defined, and after which is its value.

See for instance http://3v4l.org/ED6iJ