]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/list.rhtml
GPX trace rails stuff
[rails.git] / app / views / trace / list.rhtml
diff --git a/app/views/trace/list.rhtml b/app/views/trace/list.rhtml
new file mode 100644 (file)
index 0000000..ce2e763
--- /dev/null
@@ -0,0 +1,6 @@
+<h1>Public GPS Traces</h1>
+<% if @user %>
+  <%= link_to 'See just your traces', {:controller => 'trace', :action => 'mine'} %>
+<% end %>
+
+<%= render :partial => 'trace', :collection => @traces %>