Browse files

Set the destination_root for plugins

Since the plugin generator is relying on the application one, we need to
define the proper root when creating the plugin. The AppBase class is
not setting the destination_root (this is done via the AppGenerator)
  • Loading branch information...
1 parent b79e422 commit 1a566c87cb75b22be28917b0dd24fd7112d3235d @robin850 robin850 committed Nov 1, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/rails/generators/rails/plugin/plugin_generator.rb
1 railties/lib/rails/generators/rails/plugin/plugin_generator.rb
@@ -184,6 +184,7 @@ def initialize(*args)
+ public_task :set_default_accessors!
public_task :create_root
def create_root_files

0 comments on commit 1a566c8

Please sign in to comment.