{"action":"closed","issue":{"url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/75","labels_url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/75/comments","events_url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/75/events","html_url":"https://github.com/cviebrock/eloquent-sluggable/issues/75","id":47691813,"number":75,"title":"How can I check for uniqueness based on another model?","user":{"login":"LeBlaaanc","id":2807897,"avatar_url":"https://avatars.githubusercontent.com/u/2807897?v=3","gravatar_id":"","url":"https://api.github.com/users/LeBlaaanc","html_url":"https://github.com/LeBlaaanc","followers_url":"https://api.github.com/users/LeBlaaanc/followers","following_url":"https://api.github.com/users/LeBlaaanc/following{/other_user}","gists_url":"https://api.github.com/users/LeBlaaanc/gists{/gist_id}","starred_url":"https://api.github.com/users/LeBlaaanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeBlaaanc/subscriptions","organizations_url":"https://api.github.com/users/LeBlaaanc/orgs","repos_url":"https://api.github.com/users/LeBlaaanc/repos","events_url":"https://api.github.com/users/LeBlaaanc/events{/privacy}","received_events_url":"https://api.github.com/users/LeBlaaanc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-04T09:11:04Z","updated_at":"2015-02-22T21:42:32Z","closed_at":"2015-02-22T21:42:32Z","body":"I have ```Parent``` and ```Child``` models. I'd like Child to be unique based on the Parent then the Child slug so I would end up with a URL ```/{parent_slug}/{child_slug}```. It looks like I need to override ```getExistingSlugs($slug)``` and pass in the $parent somehow to it to find if it's unique to that parent? Does this seem right? How do I pass the $parent_slug to the method if so?\r\n\r\nThanks for your help :)"}}