Class: ActionView::Base

Inherits:
Object
  • Object
show all
Includes:
AnchorFor
Defined in:
lib/anchor_for.rb

Instance Method Summary collapse

Methods included from AnchorFor

#anchor_for

Instance Method Details

#anchor_tag_for(object) ⇒ Object



31
32
33
# File 'lib/anchor_for.rb', line 31

def anchor_tag_for(object)
  "<a name='#{anchor_for(object)}'></a>".html_safe
end