Class: Dashboards::DiskFreesController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/mission_control/servers/dashboards/disk_frees_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



3
4
5
6
7
# File 'app/controllers/mission_control/servers/dashboards/disk_frees_controller.rb', line 3

def show
  @project = MissionControl::Servers::Project.find_by(token: params[:project_id])
  @hostname = params[:hostname]
  @service = @project.services.where(hostname: @hostname).last
end