Skip to content

Commit

Permalink
Facepalm
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Jul 2, 2015
1 parent 8422ddd commit 89b4d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def httparty_error(r)
if /^https?:\/\/(www\.)?youtu(\.?be|be\.com)/ =~ params[:q]
redirect "/youtube?#{params.to_querystring}"
elsif /^https?:\/\/(www\.)?facebook\.com/ =~ params[:q]
redirect "/facebook?#{params.to_querystring}}"
redirect "/facebook?#{params.to_querystring}"
elsif /^https?:\/\/(www\.)?instagram\.com/ =~ params[:q]
redirect "/instagram?#{params.to_querystring}"
else
Expand Down

0 comments on commit 89b4d15

Please sign in to comment.