Skip to content

Commit

Permalink
Merge pull request padrino#1976 from markglenfletcher/tag-helpers-tag…
Browse files Browse the repository at this point in the history
…-doc-fix

Fix documentation example for tag method
  • Loading branch information
nesquena committed Oct 16, 2015
2 parents 5db3d14 + 409e2da commit a11f266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion padrino-helpers/lib/padrino-helpers/tag_helpers.rb
Expand Up @@ -226,7 +226,7 @@ def input_tag(type, options = {})
# tag :img, :src => 'images/pony.jpg', :alt => 'My Little Pony'
# # => <img src="images/pony.jpg" alt="My Little Pony" />
#
# tag :img, :src => 'sinatra.jpg, :data => { :nsfw => false, :geo => [34.087, -118.407] }
# tag :img, :src => 'sinatra.jpg', :data => { :nsfw => false, :geo => [34.087, -118.407] }
# # => <img src="sinatra.jpg" data-nsfw="false" data-geo="34.087 -118.407" />
#
def tag(name, options = nil, open = false)
Expand Down

0 comments on commit a11f266

Please sign in to comment.