Registered @settings in the plugin. #1139
This commit is contained in:
@@ -13,6 +13,6 @@ class DeliverablesController < ApplicationController
|
||||
end
|
||||
|
||||
def get_settings
|
||||
# @settings = Setting.plugin_budget_plugin
|
||||
@settings = Setting.plugin_budget_plugin
|
||||
end
|
||||
end
|
||||
|
||||
2
init.rb
2
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' => ''
|
||||
|
||||
Reference in New Issue
Block a user