public function sendApprove($id) { $send = Sends::findOrNew($id); $send->approve = \Auth::user()->nickname; $send->save(); \Flash::success('Completed'); return Redirect::to('/backend/admin/ugsongs/request'); }
public function Ugsend($id) { $send = Sends::findOrNew($id); $music = \Input::get('music'); $name = $send->name; $data = array('send' => $send, 'music' => $music, 'name' => $name); \Mail::send('email.send', $data, function ($message) { $message->to(\Input::get('email'), "Myanmar Music Art UG Songs")->subject("Myanmar Music Art တြင္သီခ်င္းေတာင္းဆုိထားျခင္း"); }); \Flash::overlay('Mail Send Finish!', "Complete."); return \Redirect::to('/backend/admin/ugsongs/request'); }