]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/diary.rhtml
Make per-user diary entry lists go through the diary_entry controller so
[rails.git] / app / views / user / diary.rhtml
diff --git a/app/views/user/diary.rhtml b/app/views/user/diary.rhtml
deleted file mode 100644 (file)
index 106cfd7..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<h2><%= @this_user.display_name %>'s diary</h2>
-<% if @user and @this_user.id == @user.id %>
-  <%= link_to 'new post', :controller => 'diary_entry', :action => 'new', :display_name => @user.display_name %>
-<% end %>
-
-<h3>recent posts:</h3>
-<br><br>
-<%= render :partial => 'diary_entry/diary_entry', :collection => @this_user.diary_entries %>