Skip to content

Commit

Permalink
How did this ever work?
Browse files Browse the repository at this point in the history
  • Loading branch information
rcrowley committed May 18, 2012
1 parent 3783f59 commit f81b105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/related_nodes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f81b105

Please sign in to comment.