Skip to content

Commit

Permalink
fix(button-home): default url core:index
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Jul 18, 2023
1 parent a045cf7 commit 5141f66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benefits/core/templates/core/includes/button--home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

{% translate "core.buttons.return_home" as default_button_text %}

<a href="{{ origin }}" class="btn btn-lg btn-primary">{{ button_text | default:default_button_text }}</a>
{% url "core:index" as default_button_url %}
<a href="{{ origin | default:default_button_url }}" class="btn btn-lg btn-primary">{{ button_text | default:default_button_text }}</a>

0 comments on commit 5141f66

Please sign in to comment.