File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 6
6
<meta name =" viewport" content =" width=device-width, initial-scale=1" >
7
7
<title >Laravel</title >
8
8
9
- <link href =" /css/app.css" rel =" stylesheet" >
9
+ <link href =" {{ asset ( ' /css/app.css' ) } } " rel =" stylesheet" >
10
10
11
11
<!-- Fonts -->
12
12
<link href =' //fonts.googleapis.com/css?family=Roboto:400,300' rel =' stylesheet' type =' text/css' >
38
38
39
39
<ul class =" nav navbar-nav navbar-right" >
40
40
@if (Auth:: guest () )
41
- <li ><a href =" /auth/login" >Login</a ></li >
42
- <li ><a href =" /auth/register" >Register</a ></li >
41
+ <li ><a href =" {{ url ( ' /auth/login' ) } } " >Login</a ></li >
42
+ <li ><a href =" {{ url ( ' /auth/register' ) } } " >Register</a ></li >
43
43
@else
44
44
<li class =" dropdown" >
45
45
<a href =" #" class =" dropdown-toggle" data-toggle =" dropdown" role =" button" aria-expanded =" false" >{{ Auth:: user ()-> name } } <span class =" caret" ></span ></a >
46
46
<ul class =" dropdown-menu" role =" menu" >
47
- <li ><a href =" /auth/logout" >Logout</a ></li >
47
+ <li ><a href =" {{ url ( ' /auth/logout' ) } } " >Logout</a ></li >
48
48
</ul >
49
49
</li >
50
50
@endif
Original file line number Diff line number Diff line change 18
18
</div >
19
19
@endif
20
20
21
- <form class =" form-horizontal" role =" form" method =" POST" action =" /auth/login" >
21
+ <form class =" form-horizontal" role =" form" method =" POST" action =" {{ url ( ' /auth/login' ) } } " >
22
22
<input type =" hidden" name =" _token" value =" {{ csrf_token () } }" >
23
23
24
24
<div class =" form-group" >
49
49
<div class =" col-md-6 col-md-offset-4" >
50
50
<button type =" submit" class =" btn btn-primary" >Login</button >
51
51
52
- <a class =" btn btn-link" href =" /password/email" >Forgot Your Password?</a >
52
+ <a class =" btn btn-link" href =" {{ url ( ' /password/email' ) } } " >Forgot Your Password?</a >
53
53
</div >
54
54
</div >
55
55
</form >
Original file line number Diff line number Diff line change 24
24
</div >
25
25
@endif
26
26
27
- <form class =" form-horizontal" role =" form" method =" POST" action =" /password/email" >
27
+ <form class =" form-horizontal" role =" form" method =" POST" action =" {{ url ( ' /password/email' ) } } " >
28
28
<input type =" hidden" name =" _token" value =" {{ csrf_token () } }" >
29
29
30
30
<div class =" form-group" >
Original file line number Diff line number Diff line change 18
18
</div >
19
19
@endif
20
20
21
- <form class =" form-horizontal" role =" form" method =" POST" action =" /auth/register" >
21
+ <form class =" form-horizontal" role =" form" method =" POST" action =" {{ url ( ' /auth/register' ) } } " >
22
22
<input type =" hidden" name =" _token" value =" {{ csrf_token () } }" >
23
23
24
24
<div class =" form-group" >
Original file line number Diff line number Diff line change 18
18
</div >
19
19
@endif
20
20
21
- <form class =" form-horizontal" role =" form" method =" POST" action =" /password/reset" >
21
+ <form class =" form-horizontal" role =" form" method =" POST" action =" {{ url ( ' /password/reset' ) } } " >
22
22
<input type =" hidden" name =" _token" value =" {{ csrf_token () } }" >
23
23
<input type =" hidden" name =" token" value =" {{ $token } }" >
24
24
You can’t perform that action at this time.
0 commit comments