Files
danbooru/app/controllers/application_controller.rb
Toks c2d38720ad Trim down unnecessarily long query strings
When submitting search forms, fields that aren't filled out will still
appear in the url, taking up space and making the url harder to
understand.

This commit removes blank parameters from the query string and redirects
to the new url. Since these blank parameters were already ignored by the
individual #search methods this shouldn't negatively affect anything.
2013-11-29 16:15:41 -05:00

3.5 KiB