Commit 14e6114
committed
minor #461 Minor refactor to new comment action (yceruto)
This PR was merged into the master branch.
Discussion
----------
Minor refactor to new comment action
I couldn't find a text where this was explicitly mentioned, but the code above seems unconventional with respect to what the documentation shows and the rest of the application code.
Refs:
* http://symfony.com/doc/current/best_practices/forms.html#building-forms
* http://symfony.com/doc/current/best_practices/forms.html#handling-form-submits
* http://symfony.com/doc/current/forms.html#building-the-form
* http://symfony.com/doc/current/forms.html#handling-form-submissions
* https://github.com/symfony/symfony-demo/blob/master/src/AppBundle/Controller/Admin/BlogController.php#L75-L93
Commits
-------
5c11bcd Refactor new comment action1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
| |||
0 commit comments