class Phlex::Generators::ControllerGenerator

def copy_view_files

def copy_view_files
	base_path = File.join("app/views", class_path, file_name)
	empty_directory base_path
	actions.each do |action|
		Rails::Generators.invoke("phlex:view", [remove_possible_suffix(name) + "/" + action])
	end
end