Skip to content

Commit

Permalink
Fix problem with canceling policy sim if clicking on Back before
Browse files Browse the repository at this point in the history
  • Loading branch information
hstastna committed May 17, 2019
1 parent a5cba35 commit 2e6644b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -20,7 +20,7 @@ def polsimvms
@refresh_partial = "layouts/flash_msg"
else
session[:tag_items] = records # Set the array of tag items
session[:tag_db] = VmOrTemplate # Remember the DB
session[:tag_db] = model_for_vm(records.first) # Remember the DB
if @explorer
@edit ||= {}
@edit[:explorer] = true # Since no @edit, create @edit and save explorer to use while building url for vms in policy sim grid
Expand Down
1 change: 1 addition & 0 deletions config/routes.rb
Expand Up @@ -3016,6 +3016,7 @@
launch_html5_console
launch_vmrc_console
perf_chart_chooser
policies
protect
retire
right_size_print
Expand Down

0 comments on commit 2e6644b

Please sign in to comment.