Commit 6fd8d7d7 authored by tmaruyama's avatar tmaruyama

remove trailing white-spaces from...

remove trailing white-spaces from lib/generators/redmine_plugin_controller/redmine_plugin_controller_generator.rb

git-svn-id: https://svn.redmine.org/redmine/trunk@9296 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 9afc40eb
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment