module RailsGallery::ViewHelper::TouchTouch

Public Instance Methods

touchgal_image(photo, options = {}) click to toggle source
# File lib/rails-gallery/view_helper/touch_touch.rb, line 4
def touchgal_image photo, options = {}
  content_tag :a, nil, options.merge(href: photo.path, title: photo.title)
end
Also aliased as: touch_gallery_image