Skip to content

Commit

Permalink
adding parenthesis on I18n calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Renata Marques committed Jan 6, 2020
1 parent 714b1a0 commit 5987699
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/views/pages/home.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><%= I18n.t 'site.title' %></title>
<meta name="description" content="<%= I18n.t 'site.description' %>">
<title><%= I18n.t('site.title') %></title>
<meta name="description" content="<%= I18n.t('site.description') %>">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
<link rel="stylesheet" href="/assets/main.css">
</head>
Expand All @@ -18,10 +18,10 @@
<span class="site-description"><%= I18n.t('site.description') %></span>
</h1>
<div class="header-icons">
<a aria-label="Facebook" target="_blank" href="https://www.facebook.com/<%= I18n.t 'site.facebook_username' %>"><i class="icon fa fa-facebook" aria-hidden="true"></i></a>
<a aria-label="Twitter" target="_blank" href="https://twitter.com/<%= I18n.t 'site.twitter_username' %>"><i class="icon fa fa-twitter" aria-hidden="true"></i></a>
<a aria-label="Instagram" target="_blank" href="https://www.instagram.com/<%= I18n.t 'site.instagram_username' %>"><i class="icon fa fa-instagram" aria-hidden="true"></i></a>
<a aria-label="Github" target="_blank" href="https://github.com/<%= I18n.t 'site.github_username' %>"><i class="icon fa fa-github-alt" aria-hidden="true"></i></a>
<a aria-label="Facebook" target="_blank" href="https://www.facebook.com/<%= I18n.t('site.facebook_username') %>"><i class="icon fa fa-facebook" aria-hidden="true"></i></a>
<a aria-label="Twitter" target="_blank" href="https://twitter.com/<%= I18n.t('site.twitter_username') %>"><i class="icon fa fa-twitter" aria-hidden="true"></i></a>
<a aria-label="Instagram" target="_blank" href="https://www.instagram.com/<%= I18n.t('site.instagram_username') %>"><i class="icon fa fa-instagram" aria-hidden="true"></i></a>
<a aria-label="Github" target="_blank" href="https://github.com/<%= I18n.t('site.github_username') %>"><i class="icon fa fa-github-alt" aria-hidden="true"></i></a>
</div>
<div class="header-links">
<a class="link" href="#about" data-scroll><%= I18n.t('site.about') %></a>
Expand Down

0 comments on commit 5987699

Please sign in to comment.