Browse Source

Update Criterion.php

parent
commit
5e4a4a9c25
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/models/Criterion.php

+ 2
- 2
app/models/Criterion.php View File

@@ -10,7 +10,7 @@ class Criterion extends Eloquent
10 10
 	//     protected $table = 'new_criteria';
11 11
 	protected $table = 'criteria';
12 12
 
13
-	public function outcomes($criterion_id)
13
+	public static function outcomes($criterion_id)
14 14
 	{
15 15
 		//	    return $this->belongs('Objective')->belongs('Outcome');
16 16
 		//	    TODO: Changes here
@@ -126,4 +126,4 @@ class Criterion extends Eloquent
126 126
 		}
127 127
 		return $students_achieved;
128 128
 	}
129
-}
129
+}