Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

episode 287 - fixing handle_none typo

  • Loading branch information...
commit 2ec88e0b8768021aa7761f69b72b9ef4938b3b3a 1 parent c06a058
@ryanb authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 episode-287/profile-after/app/presenters/user_presenter.rb
View
8 episode-287/profile-after/app/presenters/user_presenter.rb
@@ -15,26 +15,26 @@ def member_since
end
def website
- hande_none user.url do
+ handle_none user.url do
h.link_to(user.url, user.url)
end
end
def twitter
- hande_none user.twitter_name do
+ handle_none user.twitter_name do
h.link_to user.twitter_name, "http://twitter.com/#{user.twitter_name}"
end
end
def bio
- hande_none user.bio do
+ handle_none user.bio do
markdown(user.bio)
end
end
private
- def hande_none(value)
+ def handle_none(value)
if value.present?
yield
else
Please sign in to comment.
Something went wrong with that request. Please try again.