18577: workbench1: remove references to `redirect_to :back`, this
[arvados.git] / apps / workbench / app / controllers / actions_controller.rb
index b0b7a0b64de19135ff084fac61ad44fc2c32d835..3667d8acaa5975fdb9c2bec62e1572667f13e680 100644 (file)
@@ -49,7 +49,7 @@ class ActionsController < ApplicationController
         return self.send(param)
       end
     end
-    redirect_to :back
+    redirect_back(fallback_location: root_path)
   end
 
   expose_action :copy_selections_into_project do