method

image_alt

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: ActionView::Helpers::AssetTagHelper
image_alt(src) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/helpers/asset_tag_helper.rb, line 377
      def image_alt(src)
        File.basename(src, '.*').sub(/-[[:xdigit:]]{32}\z/, '').capitalize
      end
Register or log in to add new notes.