Esempio n. 1
0
 public function home_recent_work_view($id)
 {
     $pageTitle = "Excellence in the training & consultancy services in UK ";
     $data = RecentWork::where('id', $id)->first();
     return View::make('pages.show_recent_work', compact('pageTitle', 'data'));
 }
Esempio n. 2
0
 public function destroy_recent_work($id)
 {
     $model = RecentWork::find($id);
     $model->delete();
     Session::flash('message', 'Successfully deleted!');
     return Redirect::back();
 }