We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f93be5c commit 1e69361Copy full SHA for 1e69361
app/controllers/search_controller.rb
@@ -1,8 +1,7 @@
1
+# Search on an external and specialized website
2
class SearchController < ApplicationController
-
3
def index
4
params.permit!
5
- redirect_to "https://duckduckgo.com/?#{params.slice(:q).to_query}+site%3Alinuxfr.org"
+ redirect_to "https://duckduckgo.com/?#{params.slice(:q).to_query}+site%3Alinuxfr.org", allow_other_host: true
6
end
7
8
0 commit comments