-
Notifications
You must be signed in to change notification settings - Fork 34
Sf1 dm #288
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: hw/symfony-1-2019-11-12
Are you sure you want to change the base?
Sf1 dm #288
Conversation
| * @return Response | ||
| */ | ||
| public function index() | ||
| public function index(KernelInterface $request) |
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.
👍 Šaunu, kad naudoji KernelInterface – tada ramiau galima judinti PHP failus tarp skirtingų katalogų
| {% for key, team in data %} | ||
| {% for student in team.students %} | ||
| <li class="list-group-item"> | ||
| <a href="{{ path('student', {name: student, project: key})|escape }}">{{ student }}</a> |
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.
Symfony'je Twig'as standartinškai yra įjungęs autoescape
| <a href="{{ path('student', {name: student, project: key})|escape }}">{{ student }}</a> | |
| <a href="{{ path('student', {name: student, project: key}) }}">{{ student }}</a> |
| </ul> | ||
|
|
||
| <div class="m-4"> | ||
| <form action="/student" method="get"> |
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.
Reikėtų įprasti visur naudoti path. Nes ateityje bus sunku visus hard-coded variantus sugaudyti
|
Esmė gera, Pasitikrinimui yra testai: https://github.com/aurelijusb/kickstart/pull/288/files: |
|
Beje. Dėkui už tvarkingai atliktą darbą ir informavimą apie potencialias klaidas (51 studentą) |
|
Pataisyta (ir įvertinta): https://github.com/dominykasmurauskas/kickstart/commit/0370998700cf96b460f1019cfb18814522ccb749 |

Rebased from #91
To include latest tests