Skip to content

Commit

Permalink
Map page showing error #981 (#1019)
Browse files Browse the repository at this point in the history
* admin tools in login menu

* Update _header.html.erb

* Update _header.html.erb

* Map page showing error

* Update _maps.html.erb
  • Loading branch information
500swapnil authored and jywarren committed Nov 25, 2016
1 parent a87f7ec commit d631d16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/map/_maps.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
<% end %>
<h4><a href="<%= node.path %>"><%= node.title %></a></h4>
<p style="color:#888;"><small>
by <a href="/profile/<%= node.map.authorship %>"><%= node.map.authorship %></a>
<% if node.map %>
by <a href="/profile/<%= node.map.authorship %>"><%= node.map.authorship %></a>
<% end %>
<% unless !node.map || node.map.captured_on == "" %> <%= time_ago_in_words(node.map.captured_on) %> ago<% end %>
| <a href="<%= node.path %>#comments"><i style="color:#888;" class="fa fa-comment-o"></i> <%= node.comment_count %></a>
| <i style="color:#888;" class="fa fa-star-o"></i> <%= node.likes %>
Expand Down

0 comments on commit d631d16

Please sign in to comment.