{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/react-rails/issues/329","labels_url":"https://api.github.com/repos/reactjs/react-rails/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-rails/issues/329/comments","events_url":"https://api.github.com/repos/reactjs/react-rails/issues/329/events","html_url":"https://github.com/reactjs/react-rails/pull/329","id":98485960,"number":329,"title":"Allow component inline rendering from controller","user":{"login":"garbles","id":1139884,"avatar_url":"https://avatars.githubusercontent.com/u/1139884?v=3","gravatar_id":"","url":"https://api.github.com/users/garbles","html_url":"https://github.com/garbles","followers_url":"https://api.github.com/users/garbles/followers","following_url":"https://api.github.com/users/garbles/following{/other_user}","gists_url":"https://api.github.com/users/garbles/gists{/gist_id}","starred_url":"https://api.github.com/users/garbles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbles/subscriptions","organizations_url":"https://api.github.com/users/garbles/orgs","repos_url":"https://api.github.com/users/garbles/repos","events_url":"https://api.github.com/users/garbles/events{/privacy}","received_events_url":"https://api.github.com/users/garbles/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/reactjs/react-rails/labels/CLA%20signed","name":"CLA signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-31T23:05:52Z","updated_at":"2015-08-22T18:46:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/reactjs/react-rails/pulls/329","html_url":"https://github.com/reactjs/react-rails/pull/329","diff_url":"https://github.com/reactjs/react-rails/pull/329.diff","patch_url":"https://github.com/reactjs/react-rails/pull/329.patch"},"body":"Adds a `component` option to the controller `render` method so that you can render a component in place of `yield` instead of a view.\r\n\r\nFor example,\r\n\r\n```ruby\r\nclass TodoController < ApplicationController\r\n  def index\r\n    render component: 'TodoList', props: { todos: [{...}, {...}] }\r\n  end\r\nend\r\n```\r\n\r\nI had done something similar to this this before [here](https://github.com/reactjs/react-rails/pull/118), but there were problems with it."},"comment":{"url":"https://api.github.com/repos/reactjs/react-rails/issues/comments/133739517","html_url":"https://github.com/reactjs/react-rails/pull/329#issuecomment-133739517","issue_url":"https://api.github.com/repos/reactjs/react-rails/issues/329","id":133739517,"user":{"login":"borisrorsvort","id":39081,"avatar_url":"https://avatars.githubusercontent.com/u/39081?v=3","gravatar_id":"","url":"https://api.github.com/users/borisrorsvort","html_url":"https://github.com/borisrorsvort","followers_url":"https://api.github.com/users/borisrorsvort/followers","following_url":"https://api.github.com/users/borisrorsvort/following{/other_user}","gists_url":"https://api.github.com/users/borisrorsvort/gists{/gist_id}","starred_url":"https://api.github.com/users/borisrorsvort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisrorsvort/subscriptions","organizations_url":"https://api.github.com/users/borisrorsvort/orgs","repos_url":"https://api.github.com/users/borisrorsvort/repos","events_url":"https://api.github.com/users/borisrorsvort/events{/privacy}","received_events_url":"https://api.github.com/users/borisrorsvort/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T18:46:23Z","updated_at":"2015-08-22T18:46:23Z","body":"@rmosolgo  thanks for the review. Hope @garbles have time  to get this right :smile:  Can't wait :stuck_out_tongue: "}}