OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/controllers/charts_controller.rb

21 lines
391 B

class ChartsController < ApplicationController
unloadable
before_filter :find_sprint, :only => [:show]
before_filter :find_project, :authorize
def show
@burndown = @sprint.burndown
render :action => "show", :layout => false
end
private
def find_project
@project = @sprint.project
end
def find_sprint
@sprint = Sprint.find(params[:sprint_id])
end
end