On Tue, Oct 6, 2015 at 11:57 AM, tom <
toma...@gmail.com> wrote:
> 2) routes:
> #resource :animal
> resources :tiger , :controller => 'animals', type: 'tigler'
> resources :lion , :controller => 'animals', type: 'lion'
>
> 3) index.html
> link_to 'show', animal >>undefined method `animal_path'
animal_path won't work because you've commented out resource :animal
(which should be plural anyway, as should the others).
--
Dave Aronson, consulting software developer of Codosaur.us,
PullRequestRoulette.com,
Blog.Codosaur.us, and Dare2XL.com.