mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Merge pull request #3542 from amatsuda/controller_generator_remove_blank_line
Remove redundant blank line at the bottom of generated controller code
This commit is contained in:
@@ -3,7 +3,7 @@ class <%= class_name %>Controller < ApplicationController
|
||||
<% actions.each do |action| -%>
|
||||
def <%= action %>
|
||||
end
|
||||
|
||||
<%= "\n" unless action == actions.last -%>
|
||||
<% end -%>
|
||||
end
|
||||
<% end -%>
|
||||
|
||||
Reference in New Issue
Block a user