Skip to content

Commit

Permalink
Merge pull request #3542 from amatsuda/controller_generator_remove_bl…
Browse files Browse the repository at this point in the history
…ank_line

Remove redundant blank line at the bottom of generated controller code
  • Loading branch information
josevalim committed Nov 7, 2011
2 parents b454601 + 42cf5eb commit 1a8df8a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -3,7 +3,7 @@ class <%= class_name %>Controller < ApplicationController
<% actions.each do |action| -%> <% actions.each do |action| -%>
def <%= action %> def <%= action %>
end end

<%= "\n" unless action == actions.last -%>
<% end -%> <% end -%>
end end
<% end -%> <% end -%>

0 comments on commit 1a8df8a

Please sign in to comment.