{"action":"opened","issue":{"url":"https://api.github.com/repos/wearefine/fae/issues/443","repository_url":"https://api.github.com/repos/wearefine/fae","labels_url":"https://api.github.com/repos/wearefine/fae/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/wearefine/fae/issues/443/comments","events_url":"https://api.github.com/repos/wearefine/fae/issues/443/events","html_url":"https://github.com/wearefine/fae/issues/443","id":393034164,"node_id":"MDU6SXNzdWUzOTMwMzQxNjQ=","number":443,"title":"Slug in the website","user":{"login":"asecondwill","id":156546,"node_id":"MDQ6VXNlcjE1NjU0Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/156546?v=4","gravatar_id":"","url":"https://api.github.com/users/asecondwill","html_url":"https://github.com/asecondwill","followers_url":"https://api.github.com/users/asecondwill/followers","following_url":"https://api.github.com/users/asecondwill/following{/other_user}","gists_url":"https://api.github.com/users/asecondwill/gists{/gist_id}","starred_url":"https://api.github.com/users/asecondwill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asecondwill/subscriptions","organizations_url":"https://api.github.com/users/asecondwill/orgs","repos_url":"https://api.github.com/users/asecondwill/repos","events_url":"https://api.github.com/users/asecondwill/events{/privacy}","received_events_url":"https://api.github.com/users/asecondwill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-20T12:52:42Z","updated_at":"2018-12-20T12:52:42Z","closed_at":null,"author_association":"NONE","body":"Sorry for this question:  What needs doing to use the slug that is being stored for my model - \"Category\" ?\r\n\r\nDo I need to set up the to_param and finders myself? It isn't done in the Fae concerns?\r\n\r\nI have it working by: \r\n\r\n#category.rb\r\ndef to_param\r\n    slug\r\n  end\r\n\r\n#categories_controller.rb\r\n@category = Category.where(slug: params[:id]).first\r\n\r\nWhich is simple enough, just wondering if its built in and I'm doubling it up?\r\n"}}
{"actor":{"display_login":"asecondwill"}}