{"action":"closed","issue":{"url":"https://api.github.com/repos/LaravelRUS/SleepingOwlAdmin/issues/27","repository_url":"https://api.github.com/repos/LaravelRUS/SleepingOwlAdmin","labels_url":"https://api.github.com/repos/LaravelRUS/SleepingOwlAdmin/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/LaravelRUS/SleepingOwlAdmin/issues/27/comments","events_url":"https://api.github.com/repos/LaravelRUS/SleepingOwlAdmin/issues/27/events","html_url":"https://github.com/LaravelRUS/SleepingOwlAdmin/issues/27","id":139897360,"number":27,"title":"function fullEdit()","user":{"login":"budeci","id":10477258,"avatar_url":"https://avatars.githubusercontent.com/u/10477258?v=3","gravatar_id":"","url":"https://api.github.com/users/budeci","html_url":"https://github.com/budeci","followers_url":"https://api.github.com/users/budeci/followers","following_url":"https://api.github.com/users/budeci/following{/other_user}","gists_url":"https://api.github.com/users/budeci/gists{/gist_id}","starred_url":"https://api.github.com/users/budeci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/budeci/subscriptions","organizations_url":"https://api.github.com/users/budeci/orgs","repos_url":"https://api.github.com/users/budeci/repos","events_url":"https://api.github.com/users/budeci/events{/privacy}","received_events_url":"https://api.github.com/users/budeci/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-10T14:10:34Z","updated_at":"2016-03-11T11:17:15Z","closed_at":"2016-03-11T11:17:15Z","body":"I want to add two more parameters to this function $catagory_id, $lang_id:\r\n\r\n**I made changes**\r\nModelConfiguration Function:\r\n\r\n> public function fullEdit($id, $catagory_id=null, $lang_id=null)\r\n>     {\r\n>         $edit = $this->edit($id);\r\n>         if ($edit instanceof FormInterface)\r\n>         {\r\n>             $edit->setAction($this->updateUrl($id));\r\n>             $edit->setId($id);\r\n>         }\r\n>         return $edit;\r\n>     }\r\n\r\nRoute:\r\n\r\n> Route::get('{adminModel}/{adminModelId}/edit/{category_id?}/{lang_id?}', [\r\n>      'as'   => 'admin.model.edit',\r\n>      'uses' => 'AdminController@getEdit',\r\n> ]);\r\n\r\nAdminController Function\r\n\r\n> public function getEdit($model, $id, $catagory_id=null, $lang_id=null)\r\n> {\r\n>       $edit = $model->fullEdit($id);\r\n>       if (is_null($edit)) {\r\n>           abort(404);\r\n>       } \r\n>       return $this->render($model->title(), $edit);\r\n> }\r\n\r\nand nothing, something escapes me.\r\n\r\nerror 404 \r\n\r\n\r\nhelp me please?"}}