Merge pull request #1152 from metamaps/Connoropolous-patch-1

perms:fix needs to run after assets:precompile
This commit is contained in:
Connor Turland 2017-10-15 16:04:35 -04:00 committed by GitHub
commit a638f39008

View file

@ -11,5 +11,9 @@ namespace :assets do
end
end
# run before
Rake::Task[:'assets:precompile'].enhance([:'assets:js_compile'])
Rake::Task[:'assets:precompile'].enhance([:'assets:production_ready'])
# run after
Rake::Task[:'assets:precompile'].enhance do
Rake::Task[:'assets:production_ready'].invoke
end