gauravtiwari / relay-rails-blog

A graphql, relay and standard rails application powered demo weblog. We are using Graphql server and relay for our react component data needs.
https://relay-rails-blog.herokuapp.com/
139 stars 18 forks source link

Posts controller, routes and views #9

Closed jocubeit closed 8 years ago

jocubeit commented 8 years ago

I'm guessing the posts controller, routes and views on the rails side are left-over artifacts from the earlier react-rails version? Am I right, or am I confused?

gauravtiwari commented 8 years ago

Hey @JurgenJocubeit This is just for routes, without posts controller and show route, we can't navigate /posts/:id in rails, because the app is still standard rails app. If you using a separate client app, then you won't need these routes or controllers. Makes sense?

gauravtiwari commented 8 years ago

Just, pushed a small update to route and controller to make it more clear.