Adding basic Deliverable controller and index page. #1135

This commit is contained in:
Eric Davis
2008-05-20 16:19:15 -07:00
parent 439a649b40
commit 15cc2c992d
4 changed files with 36 additions and 0 deletions
@@ -0,0 +1,18 @@
class DeliverablesController < ApplicationController
unloadable
layout 'base'
before_filter :find_project, :authorize, :get_settings
def index
@deliverables = Deliverable.find(:all)
end
private
def find_project
@project = Project.find(params[:id])
end
def get_settings
# @settings = Setting.plugin_budget_plugin
end
end