Here is how I pass the values/variable to the partial:
<%= render "partials/banner", :locals => {:text_1 => t(:"main.home.banner_text_1"),
:text_2 => t(:"main.home.banner_text_2") } %>
then in the partial:
<%= text_1 %> <%= text_2 %>
but getting "undefined local variable or method text_1"
Where should I set the variable so it could be accesible from all views and layouts in my app?
Thanks!