gogits/gogs — pull request #501 by fundon (2014-09-26 02:38:37+00:00)
Title: bugfix, suburl defaults to empty string when suburl is undefined

My gogs server address is `http://127.0.0.1:3333/`.
It will redirect to `http://127.0.0.1:3333/undefined/user/sign_up` when clicking `sign-up` or `sign-in`.