public function edit($id) { $this->layout->title = 'Edit Media Entry'; $this->layout->content = View::make($this->link_type . '.' . $this->current_theme . '.media_manager.create_edit')->with('media_entry', MediaEntry::findOrFail($id)); }