diff --git a/app/controllers/deliverables_controller.rb b/app/controllers/deliverables_controller.rb
new file mode 100644
index 0000000..ee47cfa
--- /dev/null
+++ b/app/controllers/deliverables_controller.rb
@@ -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
diff --git a/app/views/deliverables/index.html.erb b/app/views/deliverables/index.html.erb
new file mode 100644
index 0000000..9cd09c9
--- /dev/null
+++ b/app/views/deliverables/index.html.erb
@@ -0,0 +1 @@
+
Deliverables
diff --git a/init.rb b/init.rb
index ff61488..fa4e9a9 100644
--- a/init.rb
+++ b/init.rb
@@ -7,4 +7,11 @@ Redmine::Plugin.register :budget_plugin do
author 'Eric Davis '
description 'This is a budget plugin to track deliverables and budgets on a project'
version '0.0.0'
+
+ project_module :budget_module do
+ permission :view_budget, { :deliverables => [:index]}
+ permission :manage_budget, { :deliverables => [:new, :edit, :create, :update, :destroy]}
+ end
+
+ menu :project_menu, :budget, :controller => "deliverables", :action => 'index'
end
diff --git a/spec/controllers/deliverables_controller_spec.rb b/spec/controllers/deliverables_controller_spec.rb
new file mode 100644
index 0000000..1a9b6df
--- /dev/null
+++ b/spec/controllers/deliverables_controller_spec.rb
@@ -0,0 +1,10 @@
+require File.dirname(__FILE__) + '/../spec_helper'
+
+describe DeliverablesController do
+
+ #Delete this example and add some real ones
+ it "should use DeliverablesController" do
+ controller.should be_an_instance_of(DeliverablesController)
+ end
+
+end