Sha256: ffc41b7dbb76e2284e9839900e4b44e84f5519a7c5b17000683b19f978ea471d

Contents?: true

Size: 273 Bytes

Versions: 4

Compression:

Stored size: 273 Bytes

Contents

module RailsGallery
  module ViewHelper
    module TouchTouch
      def touchgal_image photo, options = {}
        content_tag :a, nil, options.merge(href: photo.path, title: photo.title)
      end
      alias_method :touch_gallery_image, :touchgal_image
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails-gallery-0.3.3 lib/rails-gallery/view_helper/touch_touch.rb
rails-gallery-0.3.2 lib/rails-gallery/view_helper/touch_touch.rb
rails-gallery-0.3.1 lib/rails-gallery/view_helper/touch_touch.rb
rails-gallery-0.3.0 lib/rails-gallery/view_helper/touch_touch.rb