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

ERB Template and Generator Fix #42

Merged
merged 5 commits into from
Oct 28, 2016
Merged

ERB Template and Generator Fix #42

merged 5 commits into from
Oct 28, 2016

Conversation

zokioki
Copy link
Collaborator

@zokioki zokioki commented Oct 28, 2016

This PR addresses issue #41. The problem here was that ERB's literal tag delimiters (<%%) were removed from the template, causing the stylesheet_link_tag to be evaluated at the context of the InstallGenerator.

Additionally, the install generator was reworked to accept a more intuitive format of arguments and options. Previously, a user would have to specify a layout name in order to be able to then pass in the templating language argument (e.g rails g inky:install some_name slim).

The new generator format is more consistent with how we pass options into foundation-rails gem. Template type can now be specified without having to also provide a name:

rails g inky:install --slim

@zokioki zokioki merged commit dde7008 into develop Oct 28, 2016
@zokioki zokioki deleted the generator-fix branch October 28, 2016 22:13
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.

1 participant