{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/administrate/issues/916","repository_url":"https://api.github.com/repos/thoughtbot/administrate","labels_url":"https://api.github.com/repos/thoughtbot/administrate/issues/916/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/administrate/issues/916/comments","events_url":"https://api.github.com/repos/thoughtbot/administrate/issues/916/events","html_url":"https://github.com/thoughtbot/administrate/pull/916","id":238198669,"number":916,"title":"Adds _stylesheet to the resources to be generated.","user":{"login":"nickcharlton","id":11917,"avatar_url":"https://avatars2.githubusercontent.com/u/11917?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcharlton","html_url":"https://github.com/nickcharlton","followers_url":"https://api.github.com/users/nickcharlton/followers","following_url":"https://api.github.com/users/nickcharlton/following{/other_user}","gists_url":"https://api.github.com/users/nickcharlton/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcharlton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcharlton/subscriptions","organizations_url":"https://api.github.com/users/nickcharlton/orgs","repos_url":"https://api.github.com/users/nickcharlton/repos","events_url":"https://api.github.com/users/nickcharlton/events{/privacy}","received_events_url":"https://api.github.com/users/nickcharlton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-23T16:56:42Z","updated_at":"2017-06-24T22:16:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thoughtbot/administrate/pulls/916","html_url":"https://github.com/thoughtbot/administrate/pull/916","diff_url":"https://github.com/thoughtbot/administrate/pull/916.diff","patch_url":"https://github.com/thoughtbot/administrate/pull/916.patch"},"body":"This produces a file like the following:\r\n\r\n    <%#\r\n    # Stylesheet Partial\r\n\r\n    This partial imports the necessary stylesheets on each page.\r\n    By default, it includes the application CSS,\r\n    but each page can define additional CSS sources\r\n    by providing a `content_for(:stylesheet)` block.\r\n    %>\r\n\r\n    <% Administrate::Engine.stylesheets.each do |css_path| %>\r\n      <%= stylesheet_link_tag css_path %>\r\n    <% end %>\r\n\r\n    <%= yield :stylesheet %>\r\n\r\nIn `app/views/admin/application/_stylesheet.html.erb`. Fixes #888."},"comment":{"url":"https://api.github.com/repos/thoughtbot/administrate/issues/comments/310869079","html_url":"https://github.com/thoughtbot/administrate/pull/916#issuecomment-310869079","issue_url":"https://api.github.com/repos/thoughtbot/administrate/issues/916","id":310869079,"user":{"login":"professorNim","id":335659,"avatar_url":"https://avatars2.githubusercontent.com/u/335659?v=3","gravatar_id":"","url":"https://api.github.com/users/professorNim","html_url":"https://github.com/professorNim","followers_url":"https://api.github.com/users/professorNim/followers","following_url":"https://api.github.com/users/professorNim/following{/other_user}","gists_url":"https://api.github.com/users/professorNim/gists{/gist_id}","starred_url":"https://api.github.com/users/professorNim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/professorNim/subscriptions","organizations_url":"https://api.github.com/users/professorNim/orgs","repos_url":"https://api.github.com/users/professorNim/repos","events_url":"https://api.github.com/users/professorNim/events{/privacy}","received_events_url":"https://api.github.com/users/professorNim/received_events","type":"User","site_admin":false},"created_at":"2017-06-24T22:16:20Z","updated_at":"2017-06-24T22:16:20Z","body":"@nickcharlton not sure if this is intentional, but are you rendering the stylesheet outside of turbolinks on purpose?"}}
{"actor":{"display_login":"professorNim"}}