{"action":"created","issue":{"url":"https://api.github.com/repos/luizpicolo/rails_admin_content_builder/issues/3","repository_url":"https://api.github.com/repos/luizpicolo/rails_admin_content_builder","labels_url":"https://api.github.com/repos/luizpicolo/rails_admin_content_builder/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/luizpicolo/rails_admin_content_builder/issues/3/comments","events_url":"https://api.github.com/repos/luizpicolo/rails_admin_content_builder/issues/3/events","html_url":"https://github.com/luizpicolo/rails_admin_content_builder/issues/3","id":179746581,"number":3,"title":"Link form the model","user":{"login":"luizpicolo","id":1373275,"avatar_url":"https://avatars.githubusercontent.com/u/1373275?v=3","gravatar_id":"","url":"https://api.github.com/users/luizpicolo","html_url":"https://github.com/luizpicolo","followers_url":"https://api.github.com/users/luizpicolo/followers","following_url":"https://api.github.com/users/luizpicolo/following{/other_user}","gists_url":"https://api.github.com/users/luizpicolo/gists{/gist_id}","starred_url":"https://api.github.com/users/luizpicolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luizpicolo/subscriptions","organizations_url":"https://api.github.com/users/luizpicolo/orgs","repos_url":"https://api.github.com/users/luizpicolo/repos","events_url":"https://api.github.com/users/luizpicolo/events{/privacy}","received_events_url":"https://api.github.com/users/luizpicolo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/luizpicolo/rails_admin_content_builder/labels/hacktoberfest","name":"hacktoberfest","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-28T11:24:51Z","updated_at":"2016-10-10T00:00:58Z","closed_at":null,"body":"The link to the news should be modified as the user's needs. Today the link is fixed by the name of 'noticias', but it could be anything, 'Blog', \"Texts\". We should have a way so that the route could follow the name defined in the model. Example:\r\n\r\nIf model is Blog\r\n```\r\nelement += '<a href=\"/blog/' + ui.item.content_builder_category.slug + '/' + ui.item.slug + '\" class=\"cb-relational__link\" target=\"blank\"></a>';\r\n```\r\nif model is Text\r\n```\r\nelement += '<a href=\"/texts/' + ui.item.content_builder_category.slug + '/' + ui.item.slug + '\" class=\"cb-relational__link\" target=\"blank\"></a>';\r\n```\r\n\r\nof course, all dynamically without changing the name manually\r\nhttps://github.com/luizpicolo/rails_admin_content_builder/blob/master/app/assets/javascripts/rails_admin/content_builder.js.erb#L468"},"comment":{"url":"https://api.github.com/repos/luizpicolo/rails_admin_content_builder/issues/comments/252522184","html_url":"https://github.com/luizpicolo/rails_admin_content_builder/issues/3#issuecomment-252522184","issue_url":"https://api.github.com/repos/luizpicolo/rails_admin_content_builder/issues/3","id":252522184,"user":{"login":"luizpicolo","id":1373275,"avatar_url":"https://avatars.githubusercontent.com/u/1373275?v=3","gravatar_id":"","url":"https://api.github.com/users/luizpicolo","html_url":"https://github.com/luizpicolo","followers_url":"https://api.github.com/users/luizpicolo/followers","following_url":"https://api.github.com/users/luizpicolo/following{/other_user}","gists_url":"https://api.github.com/users/luizpicolo/gists{/gist_id}","starred_url":"https://api.github.com/users/luizpicolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luizpicolo/subscriptions","organizations_url":"https://api.github.com/users/luizpicolo/orgs","repos_url":"https://api.github.com/users/luizpicolo/repos","events_url":"https://api.github.com/users/luizpicolo/events{/privacy}","received_events_url":"https://api.github.com/users/luizpicolo/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T00:00:58Z","updated_at":"2016-10-10T00:00:58Z","body":"Hey my friend @dimanazarchuk, go ahead 👍 "}}
{"actor":{"display_login":"luizpicolo"}}