Multiple ajax calls fixed
This commit is contained in:
parent
220e816155
commit
1244f937e6
8 changed files with 18 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue