From 38b170225f18e66c1f4cadeda1c1fb6b9bf6f33d Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Sun, 13 Mar 2016 18:59:32 +0000 Subject: [PATCH] Appease the Hound --- app/assets/javascripts/photos.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/photos.js b/app/assets/javascripts/photos.js index d8944b3..e7c4572 100644 --- a/app/assets/javascripts/photos.js +++ b/app/assets/javascripts/photos.js @@ -2,8 +2,8 @@ $(document).ready(function() { return $(".fancy").fancybox({ afterLoad: function() { $.ajax({ - type: 'POST', - url: "/photos/" + (this.element.data('id')) + "/views", + type: "POST", + url: "/photos/" + (this.element.data("id")) + "/views", }); } });