From 67dc53bdca564ed25abf367be40e470535deee5f Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Tue, 20 May 2008 17:04:27 -0700 Subject: [PATCH] Registered @settings in the plugin. #1139 --- app/controllers/deliverables_controller.rb | 2 +- init.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/deliverables_controller.rb b/app/controllers/deliverables_controller.rb index 260f90f..a1d3502 100644 --- a/app/controllers/deliverables_controller.rb +++ b/app/controllers/deliverables_controller.rb @@ -13,6 +13,6 @@ class DeliverablesController < ApplicationController end def get_settings -# @settings = Setting.plugin_budget_plugin + @settings = Setting.plugin_budget_plugin end end diff --git a/init.rb b/init.rb index f4f218f..0e6f702 100644 --- a/init.rb +++ b/init.rb @@ -8,7 +8,7 @@ Redmine::Plugin.register :budget_plugin do description 'This is a budget plugin to track deliverables and budgets on a project' version '0.0.0' - settings:default => { + settings :default => { 'budget_nonbillable_overhead' => '', 'budget_materials' => '', 'budget_profit' => ''