<% def hello_world puts "Hello World" end %>
<% if contact.photo.url.nil? %> <% else %> <%= cl_image_tag contact.photo, class: "profile avatar dropdown-toggle img-circle", width:65%> <% end %>
<% if contact.nil? || contact.nil? %>

<%= contact.email %>

<% else %>

<%= contact.email %>

<% end %>

Last call: <%= Time.now %>

<%= link_to establish_call_path(contact.id), remote: true, id: "modalTrigger" do %> <% end %>
<%= link_to connection_path(contact), method: :delete do %> <% end %>