Skip to content

Commit

Permalink
replace RAILS_ROOT to Rails.root at lib/generators/redmine_plugin_mod…
Browse files Browse the repository at this point in the history
…el/redmine_plugin_model_generator.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6093 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
marutosi committed Jun 17, 2011
1 parent 37dc9ae commit aa2fd98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def initialize(runtime_args, runtime_options = {})
end

def destination_root
File.join(RAILS_ROOT, plugin_path)
File.join(Rails.root, plugin_path)
end

def manifest
Expand Down

0 comments on commit aa2fd98

Please sign in to comment.