Multiple ajax calls fixed

This commit is contained in:
Gopesh Tulsyan 2014-06-30 20:32:34 +05:30
parent 220e816155
commit 1244f937e6
8 changed files with 18 additions and 7 deletions

View file

@ -6,6 +6,6 @@ class ConferenceController < ApplicationController
def fetch_gallery_photos
@photos = Conference.find(params[:id].to_i).photos
render 'photos', formats: [:js]
render "photos", formats: [:js]
end
end