plugin wip
This commit is contained in:
@ -39,7 +39,13 @@ class Records extends AdminController {
|
||||
public function edit( $data = null ) {
|
||||
}
|
||||
|
||||
public function view( $data = null ) {
|
||||
public function view( $id = null ) {
|
||||
$data = self::$memberships->findById( $id );
|
||||
if ( $data !== false ) {
|
||||
return Views::view( 'members.admin.memberships.view', $data );
|
||||
}
|
||||
Issues::add( 'error', 'Membership not found.' );
|
||||
$this->index();
|
||||
}
|
||||
|
||||
public function delete( $data = null ) {
|
||||
|
Reference in New Issue
Block a user