Reputation: 800
Given the following url:
http://foo.com?bar=1&wee=2
What is the quickest way to get the raw param part of the url from an action?
i.e.
?bar=1&wee=2
Upvotes: 9
Views: 4162
Reputation: 2971
Sure, just use request.query_string from within your controller
Upvotes: 21