Backend\FormBuilderController::show PHP Method

show() public method

Display the specified form.
public show ( integer $id ) : Response
$id integer
return Response
    public function show($id)
    {
        $form = \BuiltForm::findOrFail($id);
        $this->layout->title = $form->name;
        $this->layout->content = \View::make($this->link_type . '.' . $this->current_theme . '.formbuilders.show')->with('form', $form);
    }