<commit_before><?php
namespace app\controllers;
use app\models\Instructor;
use app\models\Subject;
use app\models\Classes;
use yii\web\Controller;
use app\models\Schedule;
use app\models\Semester;
use yii\helpers\Url;

class SubjectscheduleController extends Controller
{

	public function actionSubject($id){
    echo $id;
		\Yii::$app->session->set('returnUrl', Url::to(['subjectschedule/subject', 'id'=>$id]));

    $interval = Schedule::find()->all();
    $subj = Subject::findOne($id);
        return $this->render("subjectSchedule",["interval"=>$interval,"subject"=>$subj]);
	}
}<commit_msg>Se modifica controlador subjects<commit_after><?php
namespace app\controllers;
use app\models\Instructor;
use app\models\Subject;
use app\models\Classes;
use yii\web\Controller;
use app\models\Schedule;
use app\models\Semester;
use yii\helpers\Url;

class SubjectscheduleController extends Controller
{

	public function actionSubject($id){
    echo $id;
		\Yii::$app->session->set('returnUrl', Url::to(['subjectschedule/subject', 'id'=>$id]));

    $interval = Schedule::find()->all();
    $subj = Subject::findOne($id);
        return $this->render("subjectSchedule",["interval"=>$interval,"subject"=>$subj]);
	}

	public function actionSubjects(){
		$interval = Schedule::find()->all();
        $subjects = Subject::find()->all();
        return $this->render("subjectGroupSchedule",["interval"=>$interval,"subjects"=>$subjects]);
	}
}
{'fraction_non_alphanumeric': 0.18257839721254354, 'fraction_numerical': 0.0, 'mean_word_length': 5.710280373831775, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4140299', 'n_tokens_mistral': 447, 'n_tokens_neox': 444, 'n_words': 82}