Gallery initiated
This commit is contained in:
parent
ef4aed5df0
commit
220e816155
7 changed files with 47 additions and 1 deletions
|
|
@ -3,4 +3,9 @@ class ConferenceController < ApplicationController
|
|||
@conference = Conference.find_by_short_title(params[:id])
|
||||
not_found unless @conference.make_conference_public?
|
||||
end
|
||||
|
||||
def fetch_gallery_photos
|
||||
@photos = Conference.find(params[:id].to_i).photos
|
||||
render 'photos', formats: [:js]
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue