method

delete_action_cable_files_skipping_action_cable

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: Rails::Generators::AppGenerator
delete_action_cable_files_skipping_action_cable() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 325
      def delete_action_cable_files_skipping_action_cable
        if options[:skip_action_cable]
          remove_file 'config/cable.yml'
          remove_file 'app/assets/javascripts/cable.js'
          remove_dir 'app/channels'
        end
      end
Register or log in to add new notes.