-
Notifications
You must be signed in to change notification settings - Fork 13
Ukol 4 - Lukáš Vraný #36
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pár drobností jinak OK
|
||
{% block body %} | ||
{% if faqs is null or faqs is empty %} | ||
<h2>Žádné zajímevé otázky a odpovědi</h2> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super, že myslíš i na tyto případy
use Symfony\Component\Routing\RouterInterface; | ||
|
||
/** | ||
* * @Route(service="app.controller.contact_controller") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
asi překlep
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; | ||
|
||
/** | ||
* * @Route(service="app.controller.faq_controller") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tady taky, možná to tak máš nastaveno...
{ | ||
return $this->faqRepository->findBy( | ||
[], [ | ||
"question" => "asc" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tady je nějak rozházený indent... nevím jestli bych řadil zrovna podle odpovědi, ale nijak jsme to neřešili, takže ok
No description provided.