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

Add --type option and check to controller and route blueprints #1498

Merged
merged 1 commit into from
Jul 26, 2014

Conversation

jgwhite
Copy link
Contributor

@jgwhite jgwhite commented Jul 26, 2014

screen shot 2014-07-26 at 19 41 17

Addresses #1391

Also use `--type=foo` instead of `type:foo` in route and resource
blueprints.
@stefanpenner
Copy link
Contributor

👍

stefanpenner added a commit that referenced this pull request Jul 26, 2014
Add --type option and check to controller and route blueprints
@stefanpenner stefanpenner merged commit 8e3bea0 into ember-cli:master Jul 26, 2014
@jakecraige
Copy link
Member

@jgwhite Should it really warn if you don't specify the controller? To me that seems a little unnecessary. I think it should just default to basic and not warn about it. Thoughts?

/cc @stefanpenner

@jgwhite
Copy link
Contributor Author

jgwhite commented Jul 27, 2014

@jakecraige I went back and forth on this a lot and in the end I think @jackmatt2’s suggestion is the best compromise between avoiding potential pitfalls for newcomers and keeping ember-cli direct and fuss-free.

@jgwhite jgwhite deleted the blueprint-before-install branch July 27, 2014 21:18
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

3 participants