Updated func name to get route url in templates.
This commit is contained in:
parent
5805afe947
commit
3525d5d704
5 changed files with 11 additions and 11 deletions
|
|
@ -14,7 +14,7 @@
|
|||
<button class="button is-primary">Reset password</button>
|
||||
</p>
|
||||
<p class="control">
|
||||
<a href="{{call .Reverse "home"}}" class="button is-light">Cancel</a>
|
||||
<a href="{{call .ToURL "home"}}" class="button is-light">Cancel</a>
|
||||
</p>
|
||||
</div>
|
||||
{{template "csrf" .}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue