##// END OF EJS Templates
Renamed the .rb files in the plugin_generator to end in .erb. The .rb was...
Eric Davis -
r1947:bcde2f4dce7a
parent child
Show More
@@ -22,10 +22,10 class RedminePluginGenerator < Rails::Generator::NamedBase
22 22 m.directory "#{plugin_path}/lang"
23 23 m.directory "#{plugin_path}/test"
24 24
25 m.template 'README', "#{plugin_path}/README"
26 m.template 'init.rb', "#{plugin_path}/init.rb"
25 m.template 'README.rdoc', "#{plugin_path}/README.rdoc"
26 m.template 'init.rb.erb', "#{plugin_path}/init.rb"
27 27 m.template 'en.yml', "#{plugin_path}/lang/en.yml"
28 m.template 'test_helper.rb', "#{plugin_path}/test/test_helper.rb"
28 m.template 'test_helper.rb.erb', "#{plugin_path}/test/test_helper.rb"
29 29 end
30 30 end
31 31 end
1 NO CONTENT: file renamed from lib/generators/redmine_plugin/templates/README to lib/generators/redmine_plugin/templates/README.rdoc
1 NO CONTENT: file renamed from lib/generators/redmine_plugin/templates/init.rb to lib/generators/redmine_plugin/templates/init.rb.erb
1 NO CONTENT: file renamed from lib/generators/redmine_plugin/templates/test_helper.rb to lib/generators/redmine_plugin/templates/test_helper.rb.erb
General Comments 0
You need to be logged in to leave comments. Login now