Increased size of modal, added description as caption to photos
This commit is contained in:
parent
bea55454b2
commit
3bf54f991a
7 changed files with 22 additions and 8 deletions
|
|
@ -4,8 +4,8 @@ class ConferenceController < ApplicationController
|
|||
not_found unless @conference.make_conference_public?
|
||||
end
|
||||
|
||||
def fetch_gallery_photos
|
||||
@photos = Conference.find(params[:id].to_i).photos
|
||||
def gallery_photos
|
||||
@photos = Conference.find_by_short_title(params[:id]).photos
|
||||
render "photos", formats: [:js]
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue