Skip to content

Commit 42252b0

Browse files
committed
Changed some method name to make it PSR-1 compliant
This fixes symfony#7
1 parent 599e21f commit 42252b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Resources/views/blog/post_show.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<div id="post-add-comment" class="well">
1111
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
12-
{{ render(controller('AppBundle:Blog:_commentForm', { 'id': post.id })) }}
12+
{{ render(controller('AppBundle:Blog:commentForm', { 'id': post.id })) }}
1313
{% else %}
1414
<p>
1515
<a class="btn btn-success" href="{{ path('security_login_form') }}">

src/AppBundle/Controller/BlogController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function commentNewAction(Request $request, Post $post)
9797
*
9898
* @return Response
9999
*/
100-
public function _commentFormAction(Post $post)
100+
public function commentFormAction(Post $post)
101101
{
102102
$form = $this->createCommentForm($post);
103103

0 commit comments

Comments
 (0)