Skip to content

Commit

Permalink
Refs #36793 - Addressed comments - Can-delete
Browse files Browse the repository at this point in the history
  • Loading branch information
parthaa committed Oct 24, 2023
1 parent 5b52d60 commit 5e0ef56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/api/v2/hosts/main.json.rabl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ object @host

extends "api/v2/hosts/base"
extends "api/v2/smart_proxies/children_nodes"
extends "api/v2/layouts/permissions"

# we need to cache results with @last_reports, rabl can't pass custom parameters to attriute methods
# we need to cache results with @last_reports, rabl can't pass custom parameters to attribute methods
@object.global_status_label(:last_reports => @last_reports)
@object.configuration_status(:last_reports => @last_reports)
@object.configuration_status_label(:last_reports => @last_reports)
Expand Down

0 comments on commit 5e0ef56

Please sign in to comment.