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 176796b commit 0ffbbacCopy full SHA for 0ffbbac
app/controllers/good_job/jobs_controller.rb
@@ -97,7 +97,8 @@ def destroy
97
def redirect_to_index
98
# Redirect to the jobs page, maintaining query parameters. This is
99
# necessary to support the `?poll=1` parameter that enables live polling.
100
- redirect_to jobs_path(request.query_parameters)
+ # But `locale` will be set by `default_url_options`.
101
+ redirect_to jobs_path(request.query_parameters.except("locale"))
102
end
103
104
private
0 commit comments