Skip to content

Commit

Permalink
Plugin templates initializer - use the right folder
Browse files Browse the repository at this point in the history
  • Loading branch information
etdsoft committed Jun 3, 2015
1 parent 5f37f36 commit ad54f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/z_11_plugin_templates.rb
Expand Up @@ -24,7 +24,7 @@
template_dir = Dradis::Core::Configuration.paths_templates_plugins

Dradis::Plugins::with_feature(:upload).each do |plugin|
plugin_dir = File.join(template_dir, plugin.plugin_name.to_s)
plugin.copy_templates(to: plugin_dir)
# plugin_dir = File.join(template_dir, plugin.plugin_name.to_s)
plugin.copy_templates(to: template_dir)
end
end

0 comments on commit ad54f1f

Please sign in to comment.