Skip to content

Instantly share code, notes, and snippets.

@jamesyu
Created July 18, 2009 00:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesyu/149362 to your computer and use it in GitHub Desktop.
Save jamesyu/149362 to your computer and use it in GitHub Desktop.
<% if current_user and (current_user == @user) and current_user.word_picture.nil? %>
<%= link_to image_tag('ADD_PROFILE_PIC.GIF'), :controller => 'people', :action => 'upload_picture' %>
<% else %>
NORMAL PROFILE PIC
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment