radar / guides

Guides for Ruby and Elixir and whatever else I feel like
1.52k stars 164 forks source link

Ember guide: new post path #54

Closed tomash closed 10 years ago

tomash commented 10 years ago

WARNING: nitpicking ahead. Or what I perceive as issue might be intentional. (excuse me if that's the case)

Assuming we stick to rails conventions, new post path is /posts/new, so to keep it consistent (and familiar) the entry in router.js.coffee should be

@resource 'posts.new', path: '/posts/new'

instead of current '/post/new'

radar commented 10 years ago

Thanks!