Skip to content

Commit

Permalink
Wonderfull commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mpospelov committed Apr 20, 2012
1 parent 9c5a624 commit 495ac7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
# Ignore all logfiles and tempfiles.
/log/*.log
/tmp
*.swp
.DS_Store
2 changes: 1 addition & 1 deletion app/views/users/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="actions"><%= f.submit "Unfollow" %></div>
<%end%>
<%else%>
<%= form_for current_user.relationships.build(:followed_id => @user.id,:follower_id => current_user.id) do |f| %>
<%= form_for current_user.relationships.build(:followed_id => @user.id) do |f| %>
<div><%= f.hidden_field :followed_id %></div>

<div class="actions"><%= f.submit "Follow" %></div>
Expand Down

0 comments on commit 495ac7f

Please sign in to comment.