Class: Houston::Roadmaps::Api::V1::RoadmapController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/houston/roadmaps/api/v1/roadmap_controller.rb

Instance Method Summary collapse

Instance Method Details

#currentObject



10
11
12
13
# File 'app/controllers/houston/roadmaps/api/v1/roadmap_controller.rb', line 10

def current
  milestones = Milestone.current.includes(:tickets)
  render json: Houston::Roadmaps::MilestoneApiPresenter.new(milestones)
end