Depot app error: Unknown action

I installed two plugins: scaffolding and classic_pagination

When “http://localhost:3000/admin/new

then click “Create” button

it display

Unknown action
No action responded to /admin/create

and url is very “strange”
http://localhost:3000/admin/%2Fadmin%2Fcreate

could anyone tell me what’s wrong

Difficult to say with so little code:
What the code in your view (admin/new.html.erb)? And what’s the code
of the new action in your controller (admin.rb)?

Dirk.

Ozray,
I got the error. I am just following the steps in AWDWR (2nd) to learn
Ruby on Rails.

I don’t think I skipped any step.
Were you able to find out why you were getting that issue? Is it
solved now?
Thanks
Phil

On Sep 17, 6:35 am, deegee [email protected] wrote:

Difficult to say with so little code:
What the code in your view (admin/new.html.erb)? And what’s the code
of the new action in your controller (admin.rb)?

Dirk.

I have the same error.
The code in controller: admin_controler.rb is
class AdminController < ApplicationController
scaffold :product
end

There is no view defined yet.

The code in model: product.rb is:
class Product < ActiveRecord::Base
end

Any idea?
Phil