10 lines
288 B
Ruby
10 lines
288 B
Ruby
class Groups::MilestonesController < ApplicationController
|
|
layout 'group'
|
|
|
|
def index
|
|
@group = Group.find_by(path: params[:group_id])
|
|
project_ids = @group.projects
|
|
project_milestones = Milestone.where(project_id: project_ids)
|
|
@milestones = project_milestones
|
|
end
|
|
end
|