-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Somthing wrong with controller #49
Comments
APMTestDesignBundle:TestAdmin is the correct name, have you check your namespace declaration inside the TestAdminController file ? |
in Admin/TestAdmin.php |
files |
oh, oh TestAdminController , i miss controller at all. i am sry |
…-user Update impersonating list template
I have a bundle:
autoload:
'APM' => DIR.'/../src',
appkernel:
new APM\TestDesignBundle\APMTestDesignBundle(),
creating Admin class, and write this in config.yml:
sonata_base_application:
entities:
post:
label: Test
group: test
class: APM\TestDesignBundle\Admin\TestAdmin
entity: APM\TestDesignBundle\Entity\Test
controller: TestDesignBundle:TestAdmin
after that i see dashboard with links list/add
but have an error when click on list
generated url: .../app_dev.php/admin/apm/testdesign/test/list
error:
ERR InvalidArgumentException: Bundle "TestDesignBundle" does not exist or it is not enabled. Maybe you forgot to add it in the registerBundles() function of your AppKernel.php file? (uncaught exception)
i am trying in config.yml all combinations
controller: APM\TestDesignBundle:TestAdmin
controller: APMTestDesignBundle:TestAdmin
and so on - doesnt work.
What i miss?
The text was updated successfully, but these errors were encountered: