-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Make public root path configurable #1848
Conversation
@@ -36,7 +36,7 @@ def source_entry_path | |||
end | |||
|
|||
def public_path | |||
root_path.join("public") | |||
root_path.join(fetch(:public_root_path)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add the option here too, please? https://github.com/rails/webpacker/blob/master/test/test_app/config/webpacker.yml
and a basic test here, please? https://github.com/rails/webpacker/blob/master/test/configuration_test.rb#L22
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
thanks @palkan |
👍 |
@gauravtiwari docs on this? |
@justin808 See #1855 |
Related to #1841 (#1841 (comment))