Browse Source

resolver ruta show de los dominios

parent
commit
430a85c1f7

+ 2
- 1
app/config/app.php View File

15
 
15
 
16
 	//'debug' => $_ENV['APP_DEBUG'] ?: false,
16
 	//'debug' => $_ENV['APP_DEBUG'] ?: false,
17
 
17
 
18
-	'debug' => true,
18
+// 	'debug' => true,
19
+	'debug' => false,
19
 	/*
20
 	/*
20
 	|--------------------------------------------------------------------------
21
 	|--------------------------------------------------------------------------
21
 	| Application URL
22
 	| Application URL

+ 3
- 3
app/controllers/AuthController.php View File

28
 
28
 
29
 		if (!$validator->fails()) {
29
 		if (!$validator->fails()) {
30
 			//			TODO: Remove this for production environment
30
 			//			TODO: Remove this for production environment
31
-			if (App::environment('local', 'staging')) {
32
-				return $this->processLogin();
33
-			}
31
+// 			if (App::environment('local', 'staging')) {
32
+// 				return $this->processLogin();
33
+// 			}
34
 			try {
34
 			try {
35
 				// User input
35
 				// User input
36
 				$username = str_replace('@upr.edu', '', Input::get('email'));
36
 				$username = str_replace('@upr.edu', '', Input::get('email'));

+ 2
- 2
app/controllers/OutcomesController.php View File

74
 
74
 
75
         //  		$undergradResults["successRate"]
75
         //  		$undergradResults["successRate"]
76
 
76
 
77
-        return View::make('local.managers.admins.learning-outcome_new', compact('title', 'outcome', 'undergradResults', 'gradResults'));
77
+        return View::make('local.managers.admins.learning-outcome', compact('title', 'outcome', 'undergradResults', 'gradResults'));
78
     }
78
     }
79
 
79
 
80
-    //     public function show($id)
80
+    //     public function showOri($id)
81
     //     {
81
     //     {
82
     //         DB::disableQueryLog();
82
     //         DB::disableQueryLog();
83
     //         $outcome = Outcome::find($id);
83
     //         $outcome = Outcome::find($id);

+ 1
- 1
app/routes.php View File

585
         Route::post('annual-plans/store', array('before' => 'csrf', 'uses' => 'AnnualPlansController@store'));
585
         Route::post('annual-plans/store', array('before' => 'csrf', 'uses' => 'AnnualPlansController@store'));
586
         Route::post('annual-plans/update', array('before' => 'csrf', 'uses' => 'AnnualPlansController@update'));
586
         Route::post('annual-plans/update', array('before' => 'csrf', 'uses' => 'AnnualPlansController@update'));
587
 
587
 
588
-        Route::get('learning-outcomes/show/{id}', 'OutcomesController@show');
588
+        Route::get('learning-outcomes/shows/{id}', 'OutcomesController@show');
589
         // TODO: Change route name
589
         // TODO: Change route name
590
         Route::get('learning-outcomes/newshow/{id}', 'OutcomesController@newShow');
590
         Route::get('learning-outcomes/newshow/{id}', 'OutcomesController@newShow');
591
         Route::get('new-report/{id}', 'OutcomesController@newReport');
591
         Route::get('new-report/{id}', 'OutcomesController@newReport');