File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed
src/ApiBundle/Resources/config Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 9
9
<span class =" icon-bar" ></span >
10
10
<span class =" icon-bar" ></span >
11
11
</button >
12
- <a class =" navbar-brand" href =" / " >{{ ' project_name' | trans }}</a >
12
+ <a class =" navbar-brand" href =" {{ path( ' homepage ' ) }} " >{{ ' project_name' | trans }}</a >
13
13
</div >
14
14
<div id =" navbar" class =" navbar-collapse collapse" >
15
15
<ul class =" nav navbar-nav" >
Original file line number Diff line number Diff line change 2
2
<nav class =" nav-extended" >
3
3
<div class =" nav-wrapper" >
4
4
<div >
5
- <a href =" / " >{{ ' project_name' | trans }}</a >
5
+ <a href =" {{ path( ' homepage ' ) }} " >{{ ' project_name' | trans }}</a >
6
6
</div >
7
7
<div id =" navbar" >
8
8
<ul >
25
25
</li >
26
26
{% else %}
27
27
<li ><a href =" {{ path(' fos_user_security_login' ) }}" >{{ ' action.sign_in' | trans }}</a ></li >
28
- <li ><a href =" /register " >{{ ' action.sign_up' | trans }}</a ></li >
28
+ <li ><a href =" {{ path( ' fos_user_registration_register ' ) }} " >{{ ' action.sign_up' | trans }}</a ></li >
29
29
{% endif %}
30
30
{% if is_granted(" ROLE_ADMIN" ) %}
31
31
<li >
Original file line number Diff line number Diff line change 2
2
<nav >
3
3
<div >
4
4
<div >
5
- <a href =" / " >{{ ' project_name' | trans }}</a >
5
+ <a href =" {{ path( ' homepage ' ) }} " >{{ ' project_name' | trans }}</a >
6
6
</div >
7
7
<div id =" navbar" >
8
8
<ul >
25
25
</li >
26
26
{% else %}
27
27
<li ><a href =" {{ path(' fos_user_security_login' ) }}" >{{ ' action.sign_in' | trans }}</a ></li >
28
- <li ><a href =" /register " >{{ ' action.sign_up' | trans }}</a ></li >
28
+ <li ><a href =" {{ path( ' fos_user_registration_register ' ) }} " >{{ ' action.sign_up' | trans }}</a ></li >
29
29
{% endif %}
30
30
{% if is_granted(" ROLE_ADMIN" ) %}
31
31
<li >
Original file line number Diff line number Diff line change @@ -28,22 +28,23 @@ homepage:
28
28
29
29
fos_user_security :
30
30
resource : " @FOSUserBundle/Resources/config/routing/security.xml"
31
+ prefix : /{_locale}
31
32
32
33
fos_user_resetting :
33
34
resource : " @FOSUserBundle/Resources/config/routing/resetting.xml"
34
- prefix : /resetting
35
+ prefix : /{_locale}/ resetting
35
36
36
37
fos_user_profile :
37
38
resource : " @FOSUserBundle/Resources/config/routing/profile.xml"
38
- prefix : /profile
39
+ prefix : /{_locale}/ profile
39
40
40
41
fos_user_register :
41
42
resource : " @FOSUserBundle/Resources/config/routing/registration.xml"
42
- prefix : /register
43
+ prefix : /{_locale}/ register
43
44
44
45
fos_user_change_password :
45
46
resource : " @FOSUserBundle/Resources/config/routing/change_password.xml"
46
- prefix : /profile
47
+ prefix : /{_locale}/ profile
47
48
48
49
users :
49
50
resource : " @ApiBundle/Resources/config/user_routes.yml"
You can’t perform that action at this time.
0 commit comments