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

support deployment to subdirectory #6

Merged
merged 1 commit into from
Mar 11, 2021

Conversation

jelhan
Copy link
Contributor

@jelhan jelhan commented Apr 17, 2020

See empress/guidemaker#19 for context. {{root-url}} template helper is a very simple one that prefixes a given URL with the rootURL configured in config/environment.js.

The template helper is provided by ember-root-url addon. Wouldn't be that complex to calculate in application controller but adding such a controller would be a breaking change cause consuming application might already have one. I don't see much value of adding the implementation of such a template helper directly to this addon.

This could still be a breaking change if consuming app already has a template helper with a different public API. But I don't think that's very likely.

@mansona mansona force-pushed the support-deployment-to-subdirectory branch from 9ab5bc9 to d95c1ca Compare March 11, 2021 14:48
Copy link
Member

@mansona mansona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! thanks for the contribution

@mansona mansona merged commit d6fb345 into empress:master Mar 11, 2021
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.

None yet

2 participants