public function destroy($id) { if (strtoupper(Input::get('delete')) == 'DELETE') { $tag = TalkTag::findOrFail($id); $tag->delete(); return Redirect::route(Config::get('talk::routes.base') . '.admin.tags.index'); } return Redirect::route(Config::get('talk::routes.base') . '.admin.tags.show', $id); }