app/models/gallery.rb
# Return the public_filename of this gallery
# If no pictures, in this gallery, return of no_picture.png
Return the public_filename of this gallery
If no pictures, in this gallery, return of no_picture.png
Return the public_filename of this gallery If no pictures in this gallery return of no_picture . png
def public_filename(type)
    unless picture_default.nil?
      picture_default.public_filename(type)
    else
      '/no_picture.png'
    end
  end
def public_filename ( type ) unless picture_default . nil? picture_default . public_filename ( type ) else '/no_picture.png' end end
Return the public_filename of this gallery
If no pictures, in this gallery, return of no_picture.png
Return the public_filename of this gallery If no pictures in this gallery return of no_picture . png
type
<not_specific>