1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix .keep file issue with ActionCable

Fixes #22708
Make sure the channels file is create in assets/javascript/ so require
tree works in asset pipeline.
This commit is contained in:
Cory Gwin 2015-12-21 21:41:00 -08:00
parent 043660249b
commit a859108c82

View file

@ -57,7 +57,7 @@ module Rails
directory 'app'
keep_file 'app/assets/images'
keep_file 'app/assets/javascripts/channels' unless options[:skip_action_cable]
empty_directory_with_keep_file 'app/assets/javascripts/channels' unless options[:skip_action_cable]
keep_file 'app/controllers/concerns'
keep_file 'app/models/concerns'