Skip to content

Commit

Permalink
Smartstate scan does not run from a datastore summary screen.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalis committed May 26, 2016
1 parent 42ca9d1 commit 5c570a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/storage_controller.rb
Expand Up @@ -341,6 +341,7 @@ def x_show
end

def tree_select
@lastaction = "explorer"
self.x_active_tree = params[:tree] if params[:tree]
self.x_node = params[:id]

Expand Down
1 change: 1 addition & 0 deletions app/controllers/storage_controller/storage_d.rb
Expand Up @@ -3,6 +3,7 @@ module StorageController::StorageD
extend ActiveSupport::Concern

def storage_tree_select
@lastaction = "explorer"
_typ, id = params[:id].split("_")
@record = Storage.find(from_cid(id))
end
Expand Down
1 change: 1 addition & 0 deletions app/controllers/storage_controller/storage_pod.rb
Expand Up @@ -3,6 +3,7 @@ module StorageController::StoragePod
extend ActiveSupport::Concern

def storage_pod_tree_select
@lastaction = "explorer"
_typ, id = params[:id].split("_")
@record = Storage.find(from_cid(id))
end
Expand Down

0 comments on commit 5c570a4

Please sign in to comment.