Adding basic Deliverable controller and index page. #1135
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user