       $("#project-tile-#{p_id} abbr.timeago").timeago();
       $("#project-tile-#{p_id}").hover ->   # TODO: do with CSS only
         $(@).toggleClass( 'project-tile-active' )
-      $('.project-tile .panel-body, .project-tile .panel-heading, .project-tile .panel-footer').click ->
-        # Turbolinks.visit( $(@).parent().data('url') )  
-        window.location = $(@).parent().data('url')
+      add_action_to_project_tiles()
       )
 
 



ready = ->
    $('.project-tile .panel-body, .project-tile .panel-heading, .project-tile .panel-footer').click ->
      # Turbolinks.visit( $(@).parent().data('url') )  
      window.location = $(@).parent().data('url')

    $('.project-tile').hover ->
      $(@).toggleClass( 'project-tile-active' )

          if proj.queued == 'false' and project_is_updated(p_id, proj.tested_at)
            update_project_tile(p_id)

        add_action_to_project_tiles()
        )


