Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Symfony]routing.yml, Konfiguracja pliku routing
władek22
post
Post #1





Grupa: Zarejestrowani
Postów: 9
Pomógł: 1
Dołączył: 30.10.2008

Ostrzeżenie: (0%)
-----


Posiadam wersje sandbox, stworzyłem nowy moduł o nazwie modul.
Skonfigurowałem plik routing.yml.

#my rules
costam:
url: /modul
param: { module: modul, action:index }
# default rules
homepage:
url: /
param: { module: default, action: index }

default_symfony:
url: /symfony/:action/*
param: { module: default }

default_index:
url: /:module
param: { action: index }

default:
url: /:module/:action/*

po wpisaniu localhost/sf_sandbox/web/frontend_dev.php/modul
Pokazuje sie komunikat że nie można znaleźć tej stony.
Co zrobiłem nie tak ?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 14:13