Module: RailsGallery::ViewHelper::TouchTouch
- Defined in:
- lib/rails-gallery/view_helper/touch_touch.rb
Instance Method Summary collapse
- #touchgal_image(photo, options = {}) ⇒ Object (also: #touch_gallery_image)
Instance Method Details
#touchgal_image(photo, options = {}) ⇒ Object Also known as: touch_gallery_image
4 5 6 |
# File 'lib/rails-gallery/view_helper/touch_touch.rb', line 4 def touchgal_image photo, = {} content_tag :a, nil, .merge(href: photo.path, title: photo.title) end |