Module: Kinney::ImageHelper

Defined in:
lib/generators/kinney/install/templates/image_helper.rb

Instance Method Summary collapse

Instance Method Details

#kinney_image_admin_show(image) ⇒ Object



13
14
15
16
# File 'lib/generators/kinney/install/templates/image_helper.rb', line 13

def kinney_image_admin_show(image)
  # FIXME: Use the sample images.
  image_tag "http://placehold.it/360x360"
end

#kinney_image_modal(image, person) ⇒ Object



8
9
10
11
# File 'lib/generators/kinney/install/templates/image_helper.rb', line 8

def kinney_image_modal(image, person)
  # FIXME: Use the sample images.
  image_tag "http://placehold.it/360x360"
end

#kinney_image_small(image, person = @person) ⇒ Object



3
4
5
6
# File 'lib/generators/kinney/install/templates/image_helper.rb', line 3

def kinney_image_small(image, person=@person)
  # FIXME: Use the sample images.
  image_tag "http://placehold.it/150x150"
end

#kinney_image_title(image, person) ⇒ Object



18
19
20
# File 'lib/generators/kinney/install/templates/image_helper.rb', line 18

def kinney_image_title(image, person)
  person.full_name
end