From d90f2813b40cc0c82c94f386b6dbb2a301e010b9 Mon Sep 17 00:00:00 2001 From: mathmerized Date: Fri, 22 Mar 2019 08:39:16 -0400 Subject: [PATCH 1/2] TTPLAT-861 redirect to last tab on asset save --- app/controllers/assets_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/assets_controller.rb b/app/controllers/assets_controller.rb index 9af4f730c..76b8dd0ca 100755 --- a/app/controllers/assets_controller.rb +++ b/app/controllers/assets_controller.rb @@ -327,7 +327,7 @@ def update end notify_user(:notice, "Asset #{@asset.to_s} was successfully updated.") - format.html { redirect_to inventory_url(@asset) } + format.html { redirect_to inventory_url(@asset, use_last_tab: 1) } format.js { notify_user(:notice, "#{@asset} successfully updated.") } format.json { head :no_content } else From d6a3cdc5d7479a04d4e951143a9fd2791ccb29bf Mon Sep 17 00:00:00 2001 From: Lydia Chang Date: Tue, 26 Mar 2019 07:20:35 -0400 Subject: [PATCH 2/2] Bump version --- lib/transam_core/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transam_core/version.rb b/lib/transam_core/version.rb index a5d87aa01..53c800f13 100644 --- a/lib/transam_core/version.rb +++ b/lib/transam_core/version.rb @@ -1,3 +1,3 @@ module TransamCore - VERSION = "2.5.2" + VERSION = "2.5.3" end