Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepend root path to urlForHelper #1406

Merged
merged 1 commit into from
Aug 2, 2015

Conversation

liuhongjiang
Copy link
Contributor

When user configures a prefix path as root path, urlForHelper can not resolve
url like '/archives' correctly with the prefix root path.

Resolves: #1105

When user configures a prefix path as root path, urlForHelper can not
resolve url like '/archives' correctly with the prefix root path.

Resolves: hexojs#1105
@liuhongjiang liuhongjiang force-pushed the add_root_to_urlForHelper branch from 0211188 to 5257363 Compare July 21, 2015 15:08
@liuhongjiang liuhongjiang changed the title Add root prepend to urlForHelper Prepend root path to urlForHelper Jul 21, 2015
tommy351 added a commit that referenced this pull request Aug 2, 2015
@tommy351 tommy351 merged commit 14d2b9b into hexojs:master Aug 2, 2015
@liuhongjiang liuhongjiang deleted the add_root_to_urlForHelper branch August 10, 2015 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

url_for does not allow specifying the root of the site if the site is in a subfolder.
2 participants