{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim/issues/1343","labels_url":"https://api.github.com/repos/slimphp/Slim/issues/1343/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim/issues/1343/comments","events_url":"https://api.github.com/repos/slimphp/Slim/issues/1343/events","html_url":"https://github.com/slimphp/Slim/pull/1343","id":93839335,"number":1343,"title":"Add default attributes to the route","user":{"login":"AlexStansfield","id":4319443,"avatar_url":"https://avatars.githubusercontent.com/u/4319443?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexStansfield","html_url":"https://github.com/AlexStansfield","followers_url":"https://api.github.com/users/AlexStansfield/followers","following_url":"https://api.github.com/users/AlexStansfield/following{/other_user}","gists_url":"https://api.github.com/users/AlexStansfield/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexStansfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexStansfield/subscriptions","organizations_url":"https://api.github.com/users/AlexStansfield/orgs","repos_url":"https://api.github.com/users/AlexStansfield/repos","events_url":"https://api.github.com/users/AlexStansfield/events{/privacy}","received_events_url":"https://api.github.com/users/AlexStansfield/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/slimphp/Slim/labels/discussion","name":"discussion","color":"b3b3b3"},{"url":"https://api.github.com/repos/slimphp/Slim/labels/Slim%203","name":"Slim 3","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-07-08T16:55:06Z","updated_at":"2015-07-13T09:54:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/slimphp/Slim/pulls/1343","html_url":"https://github.com/slimphp/Slim/pull/1343","diff_url":"https://github.com/slimphp/Slim/pull/1343.diff","patch_url":"https://github.com/slimphp/Slim/pull/1343.patch"},"body":"Added setDefaultAttributes method to the route class. Allows you to set default attributes when defining a route. \r\n\r\nFor example:\r\n\r\n```\r\n$app->get('/hello/world', function ($request, $response, $args) {\r\n    $response->write(\"Hello \" . $args['extra']);\r\n    return $response;\r\n})->setDefaultAttributes(['extra' => 'world']);\r\n```"},"comment":{"url":"https://api.github.com/repos/slimphp/Slim/issues/comments/120877177","html_url":"https://github.com/slimphp/Slim/pull/1343#issuecomment-120877177","issue_url":"https://api.github.com/repos/slimphp/Slim/issues/1343","id":120877177,"user":{"login":"AlexStansfield","id":4319443,"avatar_url":"https://avatars.githubusercontent.com/u/4319443?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexStansfield","html_url":"https://github.com/AlexStansfield","followers_url":"https://api.github.com/users/AlexStansfield/followers","following_url":"https://api.github.com/users/AlexStansfield/following{/other_user}","gists_url":"https://api.github.com/users/AlexStansfield/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexStansfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexStansfield/subscriptions","organizations_url":"https://api.github.com/users/AlexStansfield/orgs","repos_url":"https://api.github.com/users/AlexStansfield/repos","events_url":"https://api.github.com/users/AlexStansfield/events{/privacy}","received_events_url":"https://api.github.com/users/AlexStansfield/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T09:54:25Z","updated_at":"2015-07-13T09:54:25Z","body":"Just spotted @silentworks comment about renaming Arguments to Params. Do you want that done in this Pull Request?"}}