views:

38

answers:

1

I'm having problems baking controllers from the console WITH the admin. Whatever I do it just generates the simple actions, no admin_ version...

Tried: cake bake controller all cake bake controller all public admin cake bake controller all admin

I think I'm missing something that is very obvious :)

A: 

Usually adding an 'admin' keyword will suffice.

cake bake controller <controllername> admin
cake bake all admin

What version of CakePHP are you using? And your post has all trials in a single line.. It would help if you can type in separate lines the commands you tried.

Ashok