Merged r3514 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3640 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
beb89eb8bb
commit
32288ed5d7
2 files changed
+2
No files matched your search
@@ -6,6 +6,7 @@ class RedminePluginControllerGenerator < ControllerGenerator
|
|||||||
|
|
||||||
def initialize(runtime_args, runtime_options = {})
|
def initialize(runtime_args, runtime_options = {})
|
||||||
runtime_args = runtime_args.dup
|
runtime_args = runtime_args.dup
|
||||||
|
usage if runtime_args.empty?
|
||||||
@plugin_name = "redmine_" + runtime_args.shift.underscore
|
@plugin_name = "redmine_" + runtime_args.shift.underscore
|
||||||
@plugin_pretty_name = plugin_name.titleize
|
@plugin_pretty_name = plugin_name.titleize
|
||||||
@plugin_path = "vendor/plugins/#{plugin_name}"
|
@plugin_path = "vendor/plugins/#{plugin_name}"
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ class RedminePluginModelGenerator < ModelGenerator
|
|||||||
|
|
||||||
def initialize(runtime_args, runtime_options = {})
|
def initialize(runtime_args, runtime_options = {})
|
||||||
runtime_args = runtime_args.dup
|
runtime_args = runtime_args.dup
|
||||||
|
usage if runtime_args.empty?
|
||||||
@plugin_name = "redmine_" + runtime_args.shift.underscore
|
@plugin_name = "redmine_" + runtime_args.shift.underscore
|
||||||
@plugin_pretty_name = plugin_name.titleize
|
@plugin_pretty_name = plugin_name.titleize
|
||||||
@plugin_path = "vendor/plugins/#{plugin_name}"
|
@plugin_path = "vendor/plugins/#{plugin_name}"
|
||||||
|
|||||||
Reference in new issue
Block a user