[openstreetmap-website] Site cleanup (#150)
notifications at github.com
Sun Jan 6 16:09:17 GMT 2013
> @@ -44,6 +44,11 @@ def list
> @title = t 'trace.list.public_traces_from', :user => target_user.display_name
> + # set description
> + @description = t 'trace.list.description'
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 `@title` is setup here is because it can vary based on the selection criteria.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev