small medium large xlarge

Generic-user-small
18 May 2008, 23:18
no1uknow (2 posts)

In the old book 2nd edition we were told to generate controller admin after we generated the product model.

In the PDF 3rd Edition I’m told to run this and then start the server.

ruby script/generate scaffold product title:string description:text image_url:string

So when I go to the URL:

http://localhost:3000/admin

I get this error:

Routing Error

No route matches “/admin” with {:method=>:get}

If I go here I get the Listing Products:

http://localhost:3000/products

Generic-user-small
18 May 2008, 23:24
no1uknow (2 posts)

oops, just saw this:

http://forums.pragprog.com/forums/66/topics/397

You must be logged in to comment