Skip to content

Commit 49d96c0

Browse files
Update app/views/marketing_redesign/home/show.html.erb
Use `link_to` instead of `a` tag Co-authored-by: thoughtbot-summer <summer@thoughtbot.com>
1 parent f65a6c5 commit 49d96c0

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

app/views/marketing_redesign/home/show.html.erb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
<p class="section-subtitle">
99
<%= t("marketing_redesign.home.show.hero_subheading") %>
1010
</p>
11-
<a class="section-cta button button--primary" href="/contact-us">
12-
<%= t("marketing_redesign.home.show.hero_cta") %>
13-
</a>
11+
<%= link_to(
12+
t("marketing_redesign.home.show.hero_cta"),
13+
{controller: "/marketing_redesign/opportunities", action: :new},
14+
class: "section-cta button button--primary"
15+
) %>
1416
</div>
1517
</section>
1618

0 commit comments

Comments
 (0)