This project is archived and is in readonly mode.

#5976 verified
Robert Pankowecki

ActionView::Helpers::TranslationHelper#translate call I18n with different arguments depending on render method parameter

Reported by Robert Pankowecki | November 15th, 2010 @ 02:44 PM | in 3.0.6

# app/views/service/search/results.html.erb
<%= t("") %>

Case 1:

<%= render :partial => '/service/search/results' %>
leads to calling

which I think is wrong

Case 2:

<%= render :partial => 'service/search/results' %>
leads to calling

which is ok.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>