Skip to content

Commit

Permalink
Do not store download_summary_pdf using remember tab
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Nov 20, 2018
1 parent ced47cd commit 3830bbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1812,6 +1812,7 @@ def handle_remember_tab
request.headers['X-Angular-Request'].present?

return if controller_name == 'dashboard' && %(iframe maintab cockpit_redirect).include?(action_name)
return if action_name == 'download_summary_pdf'

remember_tab
end
Expand Down

0 comments on commit 3830bbd

Please sign in to comment.