0

When I try to call:

{{ render(controller(
    'AppBundle:Default:_test'
)) }}

this one works, but if I create Admin folder and move my DefaultController there and call it like that:

{{ render(controller(
    'AppBundle:Admin:Default:_test'
)) }}

this error shows up

("Unable to parse the controller name "AppBundle:Admin:Default:_test".")

What I'm missing? Thanks.

1 Answer 1

1

If you moved the controller from Default to Admin/Default folder, you should call it with

{{ render(controller(
    'AppBundle:Admin/Default:_test'
)) }}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.