public function edit($id)
	{
		$Model = App::make($this->Model);

		$this->data[$this->singular] = $Model::withTrashed()->findOrFail($id);
		$this->data['action']        = 'edit';

		return View::make($this->view('add-or-edit'), $this->data);
	}
public function edit($id)
	{
		$Model = App::make($this->Model);

		$this->data[$this->singular] = $Model::withTrashed()->findOrFail($id);
		$this->data['action']        = 'edit';

		return View::make($this->view('add-or-edit'), $this->data);
	}
public function edit ( $ id ) { $ Model = App :: make ( $ this -> Model ) ; $ this -> data [ $ this -> singular ] = $ Model :: withTrashed ( ) -> findOrFail ( $ id ) ; $ this -> data [ 'action' ] = 'edit' ; return View :: make ( $ this -> view ( 'add-or-edit' ) , $ this -> data ) ; }
Show the model form for editing.

Both add() and edit() use the same view:  add-or-edit

@param int $id - The ID of the model we're editing.
@return \Illuminate\View\View
Show the model form for editing .