public function post_deletemodule()
 {
     $input = Input::get();
     Admin_Nav::find($input['id'])->delete();
     Admin_Navpage::where('navheaderid', '=', $input['id'])->delete();
     return Menutree::navTree();
 }
 /**
  * application RESTful function
  * Setup pages
  * @return view
  * @author joharijumali
  **/
 public function get_application()
 {
     $flow = new Arcone();
     $data['struct'] = Menutree::generate();
     return View::make('admin.modul.application', $data);
 }