Better example of using inline function for redirection_url