<p>In app/controllers/trace_controller.rb:</p>
<pre style='color:#555'>> @@ -44,6 +44,11 @@ def list
> @title = t 'trace.list.public_traces_from', :user => target_user.display_name
> end
>
> + # set description
> +
> + @description = t 'trace.list.description'
</pre>
<p>Is there a particular reason for looking this up here and storing it in a member variable rather than just looking it up when you use it in the view? The only reason <code>@title</code> is setup here is because it can vary based on the selection criteria.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
—<br>
Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/150/files#r2560194'>view it on GitHub</a>.
</p>
<img src='https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKJq93CYNVBBdqrknFFP5ZEX4hHjJrsiHRGKHf7AELd8v.gif' height='1' width='1'>