Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
makzan committed Jun 12, 2016
1 parent 896c4c7 commit 13e7f5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions source/cards/60-i18n.md
Expand Up @@ -31,7 +31,10 @@ en:

And the view becomes:

~~~
<li><%= link_to translate('nav.home'), root_path %></li>
~~~

By grouping the locales, it ensures we do not create conflicts with the same keys.
And typing the `translate()` method every time can be annoying. That’s why rails comes with an alias `t()`:

Expand Down
4 changes: 3 additions & 1 deletion source/cards/62-crm-project-requirement.md
Expand Up @@ -4,4 +4,6 @@ title: CRM Project Requirement
date: 2016-06-12
---

![](/images/62-crm.jpg)
![](/images/62-crm.jpg)

Project deadline: **10th July, 2016**.

0 comments on commit 13e7f5a

Please sign in to comment.