You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scaffolding a blog resource creates a blogs_route.js file. Why isn't it named blog_route.js instead? What, then, should the filename for a blogs route be called?
Example scaffolding code:
ember generate --scaffold blog title:string content:text
ember generate --route blogs
The text was updated successfully, but these errors were encountered:
Scaffolding a blog resource creates a blogs_route.js file. Why isn't
it named blog_route.js instead? What, then, should the filename for a *
blogs* route be called?
Example scaffolding code:
ember generate --scaffold blog title:string content:text
ember generate --route blogs
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/75
.
The created files include post_controller.js, post.js, post.hbs, posts.hbs and posts_controller.js. It's not a problem to rename a file, but I am curious whether there is a particular reason why PostRoute lives in posts_route.js? It doesn't seem consistent. Also, if I get a posts template, why not also a PostsRoute and a PostsController?
Scaffolding a blog resource creates a blogs_route.js file. Why isn't it named blog_route.js instead? What, then, should the filename for a blogs route be called?
Example scaffolding code:
ember generate --scaffold blog title:string content:text
ember generate --route blogs
The text was updated successfully, but these errors were encountered: