The objective is to create a custom route so that /undead will go to the undead action on the ZombiesController.
我的法典:
TwitterForZombies::Application.routes.draw do
resources :zombies
match show_zombie => "undead#show"
end
而错误. ......没有添加正确的路线,就无法进入ZombiesController#undead 。
我不敢确定哪里错了......。