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

use consistent class and file name for generated js file #31

Merged
merged 1 commit into from
Jan 4, 2015
Merged

use consistent class and file name for generated js file #31

merged 1 commit into from
Jan 4, 2015

Conversation

cantonic
Copy link
Contributor

@cantonic cantonic commented Jan 4, 2015

when using rails g controller foos the created asset file's file name is singular while its class name is plural.
This fix makes them consistent ('foos_view.js.rb>class FoosView`)

@cantonic
Copy link
Contributor Author

cantonic commented Jan 4, 2015

and alternative would be singularising the class name which would make the file name of the generated stylesheet persistent as well (which is singular).

elia added a commit that referenced this pull request Jan 4, 2015
use consistent class and file name for generated js file
@elia elia merged commit 127377f into opal:master Jan 4, 2015
@elia
Copy link
Member

elia commented Jan 4, 2015

Thanks!

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