Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix README

  • Loading branch information...
commit 63adc609392613f11fe77c3c79d07774ad974e5e 1 parent 4b5fe80
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.rdoc
View
8 README.rdoc
@@ -10,9 +10,9 @@ ShowFor allows you to quickly show a model information with I18n features.
<%= u.attribute :last_sign_in_at, :if_blank => "User did not access yet"
:wrapper_html => { :id => "sign_in_timestamp" } %>
- <% u.attribute :photo do
- <%= image_url(@user.photo_url) %>
- end %>
+ <% u.attribute :photo do %>
+ <%= image_tag(@user.photo_url) %>
+ <% end %>
<%= u.association :company %>
<%= u.association :tags, :to_sentence => true %>
@@ -46,7 +46,7 @@ ShowFor allows you to quickly show a model information with I18n features.
:wrapper_html => { :id => "sign_in_timestamp" } %>
<% a.attribute :photo do %>
- <%= image_url(@admin.photo_url) %>
+ <%= image_tag(@admin.photo_url) %>
<% end %>
<% end %>
Please sign in to comment.
Something went wrong with that request. Please try again.