{"action":"created","issue":{"url":"https://api.github.com/repos/nova-framework/framework/issues/685","repository_url":"https://api.github.com/repos/nova-framework/framework","labels_url":"https://api.github.com/repos/nova-framework/framework/issues/685/labels{/name}","comments_url":"https://api.github.com/repos/nova-framework/framework/issues/685/comments","events_url":"https://api.github.com/repos/nova-framework/framework/issues/685/events","html_url":"https://github.com/nova-framework/framework/pull/685","id":143950961,"number":685,"title":"Add the support for multi-method Route Match","user":{"login":"LuckyCyborg","id":13488485,"avatar_url":"https://avatars.githubusercontent.com/u/13488485?v=3","gravatar_id":"","url":"https://api.github.com/users/LuckyCyborg","html_url":"https://github.com/LuckyCyborg","followers_url":"https://api.github.com/users/LuckyCyborg/followers","following_url":"https://api.github.com/users/LuckyCyborg/following{/other_user}","gists_url":"https://api.github.com/users/LuckyCyborg/gists{/gist_id}","starred_url":"https://api.github.com/users/LuckyCyborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuckyCyborg/subscriptions","organizations_url":"https://api.github.com/users/LuckyCyborg/orgs","repos_url":"https://api.github.com/users/LuckyCyborg/repos","events_url":"https://api.github.com/users/LuckyCyborg/events{/privacy}","received_events_url":"https://api.github.com/users/LuckyCyborg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-28T11:01:31Z","updated_at":"2016-03-28T14:36:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nova-framework/framework/pulls/685","html_url":"https://github.com/nova-framework/framework/pull/685","diff_url":"https://github.com/nova-framework/framework/pull/685.diff","patch_url":"https://github.com/nova-framework/framework/pull/685.patch"},"body":"This last minute PR introduce a **Multi-Method Route Match**, extremely useful when dealing with CRUD forms, while is wanted to specify punctually the valid request methods.\r\n\r\nUsage:\r\n\r\n```php\r\nRouter::match(['get', 'post'], 'admin/users/(:num)/edit', 'App\\Controllers\\Admin\\Users@edit');\r\n```\r\n\r\nOr, in the **ClassicRouter** case can be:\r\n\r\n```php\r\nRouter::match(['get', 'post'], 'admin/users/(:num)/edit', 'admin/users/edit/$1');\r\n```"},"comment":{"url":"https://api.github.com/repos/nova-framework/framework/issues/comments/202420209","html_url":"https://github.com/nova-framework/framework/pull/685#issuecomment-202420209","issue_url":"https://api.github.com/repos/nova-framework/framework/issues/685","id":202420209,"user":{"login":"daveismyname","id":1018170,"avatar_url":"https://avatars.githubusercontent.com/u/1018170?v=3","gravatar_id":"","url":"https://api.github.com/users/daveismyname","html_url":"https://github.com/daveismyname","followers_url":"https://api.github.com/users/daveismyname/followers","following_url":"https://api.github.com/users/daveismyname/following{/other_user}","gists_url":"https://api.github.com/users/daveismyname/gists{/gist_id}","starred_url":"https://api.github.com/users/daveismyname/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daveismyname/subscriptions","organizations_url":"https://api.github.com/users/daveismyname/orgs","repos_url":"https://api.github.com/users/daveismyname/repos","events_url":"https://api.github.com/users/daveismyname/events{/privacy}","received_events_url":"https://api.github.com/users/daveismyname/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T14:36:25Z","updated_at":"2016-03-28T14:36:25Z","body":"Is that different from using Router::any? that support get and post"}}