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

[SDT-38] Get assetsPrefix directly from play conf #61

Merged
merged 3 commits into from
Nov 3, 2016
Merged

[SDT-38] Get assetsPrefix directly from play conf #61

merged 3 commits into from
Nov 3, 2016

Conversation

rpowis
Copy link
Contributor

@rpowis rpowis commented Oct 28, 2016

This enforces a standardised way of defining assets config in frontends and moves away from the run mode structure.

This is for review by @hmrc/platops

lazy val assetsPrefix = assetsUrl + assetsVersion
}

object AssetsPrefix extends AssetsPrefix
Copy link
Contributor

Choose a reason for hiding this comment

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

Naming wise - the AssetsPrefix file and associated object, trait could be re-named AssetsConfig. It looks a little funny when called in the view as @AssetsPrefix.assetsPrefix

@feedmypixel
Copy link
Contributor

LGTM 👍

@rpowis rpowis merged commit 2e84e24 into master Nov 3, 2016
@rpowis rpowis deleted the SDT-38 branch November 3, 2016 10:51
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.

2 participants