Sha256: f9258ec2aaa74bdea5af9095dbf6e09930e70229c7f904f13ad2bf556e394bba

Contents?: true

Size: 235 Bytes

Versions: 4

Compression:

Stored size: 235 Bytes

Contents

module Admin::Images2Helper
  def path_html_for_index(image)
    url = 'http://' + request.host_with_port + image.image.url
    text_field_tag(
      image.id, url, :onclick => "javascript:this.focus(); this.select();"
    )
  end
end

Version data entries

4 entries across 3 versions & 1 rubygems

Version Path
admin_assistant-2.1.0 rails_3_0/app/helpers/admin/images2_helper.rb
admin_assistant-2.0.1 rails_2_test/app/helpers/admin/images2_helper.rb
admin_assistant-2.0.1 rails_3_test/app/helpers/admin/images2_helper.rb
admin_assistant-1.0.1 test_rails_app/app/helpers/admin/images2_helper.rb