Skip to content

Commit

Permalink
Add a couple more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gfontenot committed Feb 11, 2012
1 parent d09f110 commit 9e567dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wishboard.rb
Expand Up @@ -18,6 +18,7 @@
# Render the user's content based on the username supplied
get '/:user/?*' do |user, filter_tags|

# Set up our markdown processor for later
@markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML, :autolink => true)

# Build the base title. We will add tag info to it later
Expand Down Expand Up @@ -63,6 +64,7 @@ def get_json_content(user, filter_tags)
end
end

# Get the data from the API
data = Net::HTTP.get_response(URI.parse(url)).body

# If the data is empty, the user doesn't exist on Pinboard,
Expand Down

0 comments on commit 9e567dc

Please sign in to comment.