lib/dry/web/roda/generators/sub_app.rb in dry-web-roda-0.11.0 vs lib/dry/web/roda/generators/sub_app.rb in dry-web-roda-0.12.0
- old
+ new
@@ -32,11 +32,11 @@
def system_lib_path
"system/#{underscored_umbrella_name}/#{underscored_project_name}"
end
def add_lib
- add_template('subapp/view__context.rb.tt', "#{lib_path}/view/context.rb")
- add_template('subapp/view__controller.rb.tt', "#{lib_path}/view/controller.rb")
+ add_template('subapp/view_context.rb.tt', "#{lib_path}/view_context.rb")
+ add_template('subapp/view.rb.tt', "#{lib_path}/view.rb")
add_template('subapp/welcome.rb.tt', "#{lib_path}/views/welcome.rb")
end
def add_system
add_template('subapp/web.rb.tt', "#{system_lib_path}/web.rb")