amardaxini-enginator 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/enginator.gemspec +1 -1
- data/rails_generators/engine_generator.rb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
data/enginator.gemspec
CHANGED
@@ -201,7 +201,7 @@ class EngineGenerator < Rails::Generator::NamedBase
|
|
201
201
|
application_helper_file .each do |line|
|
202
202
|
application_content += "#{line} "
|
203
203
|
end
|
204
|
-
app1 = "module #{plural_class_name}"
|
204
|
+
app1 = "module #{plural_class_name}Helper"
|
205
205
|
application_content.sub!(/module ApplicationHelper{1}/,"#{app1}")
|
206
206
|
application_helper_file = File.open("#{plugin_path}/app/helpers/application_helper.rb","w")
|
207
207
|
application_helper_file.write(application_content)
|