class Stimulus::Generators::ComponentGenerator
def destination
def destination if sidecar? File.join(component_path, class_path, "#{file_name}_component", "#{file_name}_component_controller.#{filetype}") else File.join(component_path, class_path, "#{file_name}_component_controller.#{filetype}") end end