Skip to content

Commit

Permalink
Merge pull request #357 from awendt/fix-webpacker-config-example
Browse files Browse the repository at this point in the history
Fix doc example for Webpacker
  • Loading branch information
PikachuEXE authored Sep 27, 2017
2 parents 11ff71c + 85859dc commit 3ad831d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ AssetSync.configure do |config|
# Any code that returns paths of local asset files to be uploaded
# Like Webpacker
Dir.chdir(Rails.root.join('public')) do
Dir[File.join(Webpacker::Configuration.fetch(:public_output_path), '/**/**')]
Dir[File.join(Webpacker.config.public_output_path, '/**/**')]
end
end
end
Expand Down

0 comments on commit 3ad831d

Please sign in to comment.