summaryrefslogtreecommitdiffstats
path: root/lib/generators
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-04-01 12:41:55 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-04-01 12:41:55 +0000
commitfc717411018f275403807b398b7482513a259d16 (patch)
treea2f3456793d6de87b35311c1124fdafc49cd254c /lib/generators
parent3847223841552424b93033b8c36f1a60beb84f63 (diff)
downloadredmine-fc717411018f275403807b398b7482513a259d16.tar.gz
redmine-fc717411018f275403807b398b7482513a259d16.zip
remove trailing white-spaces from lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9296 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/generators')
-rw-r--r--lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb b/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb
index 24d3af8e4..71d7d106c 100644
--- a/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb
+++ b/lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb
@@ -3,7 +3,7 @@ require 'rails_generator/generators/components/controller/controller_generator'
class RedminePluginControllerGenerator < ControllerGenerator
attr_reader :plugin_path, :plugin_name, :plugin_pretty_name
-
+
def initialize(runtime_args, runtime_options = {})
runtime_args = runtime_args.dup
usage if runtime_args.empty?
@@ -12,11 +12,11 @@ class RedminePluginControllerGenerator < ControllerGenerator
@plugin_path = "vendor/plugins/#{plugin_name}"
super(runtime_args, runtime_options)
end
-
+
def destination_root
File.join(Rails.root, plugin_path)
end
-
+
def manifest
record do |m|
# Check for class naming collisions.