<%= @msg %>

<% for ad in @ads %> <% if @current_user %> <% end %> <% end %>
<%= ad.description %> <%= link_to 'Show', ad %><%= link_to 'Modify', edit_ad_path(ad) %>

<% if @current_user %> <%= link_to 'Create', new_ad_path %> <% end %>