je n arrive plus a ouvrir la page localhost
Bonjour,
lorsque je tape l adresse
"localhost/inmycity/web/app_dev.php/inmycity/hello/sdfgds" cela me donne "The requested URL "http://localhost/inmycity/web/app_dev.php/inmycity/hello/sdfgds" cannot be found or is not available. Please check the spelling or try again later."
Wamp est demarré avec son icone vert
phpmyadmin va aussi
alors je sais d ou cela vient voila mon bundle et routeur
defauftcontroler
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
<?php
namespace Inmycity\InmycityBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction($name,$nickname)
{
return $this->render('InmycityBundle:Default:index.html.twig', array('name' => $name,'nickname' => $nickname));
}
} |
bundle
Code:
1 2 3
| inmycity_homepage:
path: /hello/{name}/{nickname}
defaults: { _controller: InmycityBundle:Default:index } |
inder
Citation:
Hello {{ name }}{{ nickname }}!
le routing de app config est vide
merci :)