<%# # @file # This view shows an index of all topics, or just your topics if you're # logged in # TODO: What URL accesses this view? #%>

<% if @user %><%= @user.name %>'s <% end %>Topics

<% @topics.each do |topic| %> <%= render topic %> <% end %> <% if @topics.empty? %>


Shucks, there are no topics. <% if authenticated? %><%= link_to "Create some if you want.", console_url %><% end %>

<% end %>