Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant blank line at the bottom of generated controller code #3542

Merged

Conversation

amatsuda
Copy link
Member

@amatsuda amatsuda commented Nov 7, 2011

Every time the controller generator produces controller codes with a redundant blank line at the bottom.
This is because the generator outputs a method definition and a blank line for each actions when iterating over given actions.
Here's (a bit ugly) workaround for removing this.

josevalim added a commit that referenced this pull request Nov 7, 2011
…ank_line

Remove redundant blank line at the bottom of generated controller code
@josevalim josevalim merged commit 1a8df8a into rails:master Nov 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants