Skip to content

Commit

Permalink
Replacing this random html with haml
Browse files Browse the repository at this point in the history
HTML? How did that get there?
  • Loading branch information
LindseyB committed Mar 24, 2011
1 parent 086f60d commit 56e1add
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions views/layout.haml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@
= current_user.username
.stats
.following
Following: <a href="/users/#{current_user.username}/following">#{current_user.following.length}</a>
Following:
%a{ :href => "/users/#{current_user.username}/following"}
#{current_user.following.length}
.followers
Followers: <a href="/users/#{current_user.username}/followers">#{current_user.followers.length}</a>
Followers:
%a{ :href => "/users/#{current_user.username}/followers"}
#{current_user.followers.length}
.updates
Updates: #{current_user.feed.updates.count}

Expand Down

0 comments on commit 56e1add

Please sign in to comment.