lib/generators/batman/app_generator.rb in batman-rails-0.15.3 vs lib/generators/batman/app_generator.rb in batman-rails-0.15.4
- old
+ new
@@ -49,9 +49,10 @@
empty_directory "#{app_path}/html/main"
template "batman/application_controller.coffee", "#{app_path}/controllers/application_controller.js.coffee"
template "batman/main_controller.coffee", "#{app_path}/controllers/main_controller.js.coffee"
template "batman/html/main_index.html", "#{app_path}/html/main/index.html"
+ template "batman/main_index_view.coffee", "#{app_path}/views/main/main_index_view.js.coffee"
end
end
def inject_batman
with_app_name do