<%= link_to "Show More >", project_path(project), remote: true %>
format.js
(app/views/projects/show.js.coffee)
$(".modal-target").html("<%= escape_javascript (render 'projects/project_modal', project: @project ) %>")
$("#project-<%[email protected] %>").modal('show')
$('.project-thumbnails img').on 'click', ->
$(this).closest('.modal-body').find('.featured-image').attr('src', $(this).attr('data-url'))