* DEV: Allow params to be passed on topic redirects There are several places where we redirect a url to a standard topic url like `/t/:slug/:topic_id` but we weren't always passing query parameters to the new url. This change allows a few more query params to be included on the redirect. The new params that are permitted are page, print, and filter_top_level_replies. Any new params will need to be specified. This also prevents the odd trailing empty page param that would sometimes appear on a redirect. `/t/:slug/:id.json?page=` * rubocop: fix missing space after comma * fix another page= reference |
||
|---|---|---|
| .. | ||
| schemas | ||
| shared | ||
| backups_spec.rb | ||
| badges_spec.rb | ||
| categories_spec.rb | ||
| groups_spec.rb | ||
| invites_spec.rb | ||
| notifications_spec.rb | ||
| posts_spec.rb | ||
| private_messages_spec.rb | ||
| search_spec.rb | ||
| site_spec.rb | ||
| tags_spec.rb | ||
| topics_spec.rb | ||
| uploads_spec.rb | ||
| user_badges_spec.rb | ||
| users_spec.rb | ||