@@ -45,7 +45,7 @@ public function indexAction(Request $request)
4545 );
4646
4747 return $ this ->render (
48- $ this ->container ->getParameter ('hackzilla_ticket.templates.index ' ) ,
48+ $ this ->container ->getParameter ('hackzilla_ticket.templates ' )[ ' index ' ] ,
4949 [
5050 'pagination ' => $ pagination ,
5151 'ticketState ' => $ ticketState ,
@@ -81,7 +81,7 @@ public function createAction(Request $request)
8181 }
8282
8383 return $ this ->render (
84- $ this ->container ->getParameter ('hackzilla_ticket.templates.new ' ) ,
84+ $ this ->container ->getParameter ('hackzilla_ticket.templates ' )[ ' new ' ] ,
8585 [
8686 'entity ' => $ ticket ,
8787 'form ' => $ form ->createView (),
@@ -100,7 +100,7 @@ public function newAction()
100100 $ form = $ this ->createForm (TicketType::class, $ entity );
101101
102102 return $ this ->render (
103- $ this ->container ->getParameter ('hackzilla_ticket.templates.new ' ) ,
103+ $ this ->container ->getParameter ('hackzilla_ticket.templates ' )[ ' new ' ] ,
104104 [
105105 'entity ' => $ entity ,
106106 'form ' => $ form ->createView (),
@@ -143,7 +143,7 @@ public function showAction($ticketId)
143143 $ data ['delete_form ' ] = $ this ->createDeleteForm ($ ticket ->getId ())->createView ();
144144 }
145145
146- return $ this ->render ($ this ->container ->getParameter ('hackzilla_ticket.templates.show ' ) , $ data );
146+ return $ this ->render ($ this ->container ->getParameter ('hackzilla_ticket.templates ' )[ ' show ' ] , $ data );
147147 }
148148
149149 /**
@@ -190,7 +190,7 @@ public function replyAction(Request $request, $ticketId)
190190 $ data ['delete_form ' ] = $ this ->createDeleteForm ($ ticket ->getId ())->createView ();
191191 }
192192
193- return $ this ->render ($ this ->container ->getParameter ('hackzilla_ticket.templates.show ' ) , $ data );
193+ return $ this ->render ($ this ->container ->getParameter ('hackzilla_ticket.templates ' )[ ' show ' ] , $ data );
194194 }
195195
196196 /**
0 commit comments