From 4787ca23c577620b79006096462ddd9168d85a74 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sat, 3 Nov 2012 13:34:38 -0400 Subject: [PATCH] removed dependence on having a sample map by adding empty text ("shucks") --- app/views/main/samplemap.html.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/main/samplemap.html.erb b/app/views/main/samplemap.html.erb index d808b248..b6eb94da 100644 --- a/app/views/main/samplemap.html.erb +++ b/app/views/main/samplemap.html.erb @@ -1,3 +1,4 @@ +<% if @map %>

# of Topics: <%= @map.items.count %>

@@ -31,4 +32,8 @@ initFD(); }); } - \ No newline at end of file + + +<% else %> +


Shucks, there are no maps.

+<% end %>