public static function edit($id) { self::check_logged_in(); $hero = Hero::find($id); View::make('hero/edit.html', array('attributes' => $hero)); }