[openstreetmap-website] Site cleanup (#150)

Tom Hughes notifications at github.com
Sun Jan 6 16:47:40 GMT 2013


> @@ -1,30 +1,39 @@
> -<b><%= link_to h(diary_entry.title), :action => 'view', :display_name => diary_entry.user.display_name, :id => diary_entry.id %></b><br />
> +<div class='diary_post'>
> +  <div class='post_heading clearfix'>
> +    <% if @this_user %>
> +    <% else %>

Can we just do `unless` or `if !` please rather than an empty if with an else...

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/150/files#r2560234
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130106/427b3e35/attachment.html>


More information about the rails-dev mailing list