From 202d01664a6f07a695f3898c5ac93fc44f87e92e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 2 Jul 2009 18:40:06 +0000 Subject: [PATCH] Do not use settings/settings partial name in sample plugin (#3557). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2798 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../settings/{_settings.rhtml => _sample_plugin_settings.rhtml} | 0 extra/sample_plugin/init.rb | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename extra/sample_plugin/app/views/settings/{_settings.rhtml => _sample_plugin_settings.rhtml} (100%) diff --git a/extra/sample_plugin/app/views/settings/_settings.rhtml b/extra/sample_plugin/app/views/settings/_sample_plugin_settings.rhtml similarity index 100% rename from extra/sample_plugin/app/views/settings/_settings.rhtml rename to extra/sample_plugin/app/views/settings/_sample_plugin_settings.rhtml diff --git a/extra/sample_plugin/init.rb b/extra/sample_plugin/init.rb index 5c543338c..ec5818215 100644 --- a/extra/sample_plugin/init.rb +++ b/extra/sample_plugin/init.rb @@ -8,7 +8,7 @@ Redmine::Plugin.register :sample_plugin do author 'Author name' description 'This is a sample plugin for Redmine' version '0.0.1' - settings :default => {'sample_setting' => 'value', 'foo'=>'bar'}, :partial => 'settings/settings' + settings :default => {'sample_setting' => 'value', 'foo'=>'bar'}, :partial => 'settings/sample_plugin_settings' # This plugin adds a project module # It can be enabled/disabled at project level (Project settings -> Modules)