Module: DeploymentMarkersConcern
- Included in:
- RailsPulse::DashboardController
- Defined in:
- app/controllers/concerns/deployment_markers_concern.rb
Instance Method Summary collapse
Instance Method Details
#populate_deployment_markers ⇒ Object
2 3 4 5 6 |
# File 'app/controllers/concerns/deployment_markers_concern.rb', line 2 def populate_deployment_markers @deployment_markers = RailsPulse::Deployment .for_range(Time.zone.at(@start_time), Time.zone.at(@end_time)) .map(&:to_chart_marker) end |