Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 42252b0

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

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: app/Resources/views/blog/post_show.html.twig
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/AppBundle/Controller/BlogController.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.