{"action":"created","issue":{"url":"https://api.github.com/repos/themosis/framework/issues/330","repository_url":"https://api.github.com/repos/themosis/framework","labels_url":"https://api.github.com/repos/themosis/framework/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/themosis/framework/issues/330/comments","events_url":"https://api.github.com/repos/themosis/framework/issues/330/events","html_url":"https://github.com/themosis/framework/issues/330","id":164871562,"number":330,"title":"Passing parameters to controllers","user":{"login":"LeRondPoint","id":15251145,"avatar_url":"https://avatars.githubusercontent.com/u/15251145?v=3","gravatar_id":"","url":"https://api.github.com/users/LeRondPoint","html_url":"https://github.com/LeRondPoint","followers_url":"https://api.github.com/users/LeRondPoint/followers","following_url":"https://api.github.com/users/LeRondPoint/following{/other_user}","gists_url":"https://api.github.com/users/LeRondPoint/gists{/gist_id}","starred_url":"https://api.github.com/users/LeRondPoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeRondPoint/subscriptions","organizations_url":"https://api.github.com/users/LeRondPoint/orgs","repos_url":"https://api.github.com/users/LeRondPoint/repos","events_url":"https://api.github.com/users/LeRondPoint/events{/privacy}","received_events_url":"https://api.github.com/users/LeRondPoint/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-11T15:54:15Z","updated_at":"2016-07-11T23:55:30Z","closed_at":null,"body":"More of a question or a request than an issue.  How can one pass parameters to a controller during the Route::get call?\r\n\r\nI have the following:\r\n```\r\n Route::get('home', 'ResultsController@index');\r\n Route::get('search', 'ResultsController@query');\r\n Route::get('category', 'ResultsController@query');\r\n Route::get('tag', 'ResultsController@query');\r\n Route::get('author', 'ResultsController@query');\r\n ...\r\n```\r\n\r\nI'd like to pass the controller a parameter for each route that will be relayed to the view in order to set a decent title without creating a new function for each.  Possible?\r\n\r\nIdeally, it would also be possible to intercept the route parameters to act on them.  For instance, get the author id/slug to put 'Posts by AUTHOR' as a title."},"comment":{"url":"https://api.github.com/repos/themosis/framework/issues/comments/231900133","html_url":"https://github.com/themosis/framework/issues/330#issuecomment-231900133","issue_url":"https://api.github.com/repos/themosis/framework/issues/330","id":231900133,"user":{"login":"LeRondPoint","id":15251145,"avatar_url":"https://avatars.githubusercontent.com/u/15251145?v=3","gravatar_id":"","url":"https://api.github.com/users/LeRondPoint","html_url":"https://github.com/LeRondPoint","followers_url":"https://api.github.com/users/LeRondPoint/followers","following_url":"https://api.github.com/users/LeRondPoint/following{/other_user}","gists_url":"https://api.github.com/users/LeRondPoint/gists{/gist_id}","starred_url":"https://api.github.com/users/LeRondPoint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeRondPoint/subscriptions","organizations_url":"https://api.github.com/users/LeRondPoint/orgs","repos_url":"https://api.github.com/users/LeRondPoint/repos","events_url":"https://api.github.com/users/LeRondPoint/events{/privacy}","received_events_url":"https://api.github.com/users/LeRondPoint/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T23:55:30Z","updated_at":"2016-07-11T23:55:30Z","body":"Right, I had the custom conditions doc in mind!"}}
{"actor":{"display_login":"LeRondPoint"}}