diff --git a/app/controllers/kpm/nodes_info_controller.rb b/app/controllers/kpm/nodes_info_controller.rb index 40a4798..ea00fdc 100644 --- a/app/controllers/kpm/nodes_info_controller.rb +++ b/app/controllers/kpm/nodes_info_controller.rb @@ -8,6 +8,8 @@ class NodesInfoController < EngineController include ActionController::Live def index + @installing = !params[:i].blank? + @nodes_info = ::KillBillClient::Model::NodesInfo.nodes_info(options_for_klient) # For convenience, put pure OSGI bundles at the bottom @@ -76,7 +78,7 @@ def refresh def install_plugin trigger_node_plugin_command('INSTALL_PLUGIN') - redirect_to :action => :index + redirect_to nodes_info_index_path(:i => 1) end def uninstall_plugin diff --git a/app/views/kpm/nodes_info/index.html.erb b/app/views/kpm/nodes_info/index.html.erb index 9d8fa9e..a16de23 100644 --- a/app/views/kpm/nodes_info/index.html.erb +++ b/app/views/kpm/nodes_info/index.html.erb @@ -3,6 +3,7 @@