My problem is simple. I have a function "translateTo(lang)" that i
need to call in my show_data.rhtml file. The function that i need to
call returns a string that i need to print out on my show_data.rhtml
Should i define the function in the show_data_controller.rb? or some
What commands should i have in the show_data.rhtml?
<%= translateTo(@trans)%> <%# What shall i do to make this line work