Permalink
Browse files

How did this ever work?

  • Loading branch information...
1 parent 3783f59 commit f81b105fe5752254db4df3507c0e9a78bc980bbc @rcrowley committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/related_nodes.rb
@@ -68,7 +68,7 @@ def get(env)
query = CGI.parse(env["QUERY_STRING"]) # FIXME Sanitize.
reference = query["resource"][0]
title = case reference
- when RE_REFERENCE then $1
+ when RE_REFERENCE then $2
when RE_TYPE then nil
else return [400, HEADERS, ["---"]]
end

0 comments on commit f81b105

Please sign in to comment.