diff --git a/railties/lib/rails_generator/generators/components/controller/templates/controller.rb b/railties/lib/rails_generator/generators/components/controller/templates/controller.rb index 3341535a80..cda2659e69 100644 --- a/railties/lib/rails_generator/generators/components/controller/templates/controller.rb +++ b/railties/lib/rails_generator/generators/components/controller/templates/controller.rb @@ -1,7 +1,7 @@ class <%= class_name %>Controller < ApplicationController <% for action in actions -%> - def <%= action %> end + <% end -%> end