What is link_to t() in Rails 3?

Viewed 7735

I watched Railscast 328 this morning and I am having difficulty finding docs for a method.

<%= link_to t('.edit', :default => t("helpers.links.edit")),
                  edit_boy_scout_path(boy_scout), :class => 'btn btn-mini' %>

I understand the link_to method, but I am confused about the t('edit .... ) parameter and it is in this method call twice. An explanation or even pointing me to some docs would be great. Thanks for all the help

1 Answers
Related