Przeglądaj źródła

resolver ruta show de los dominios

rodzic
commit
430a85c1f7

+ 2
- 1
app/config/app.php Wyświetl plik

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

+ 3
- 3
app/controllers/AuthController.php Wyświetl plik

@@ -28,9 +28,9 @@ class AuthController extends \BaseController
28 28
 
29 29
 		if (!$validator->fails()) {
30 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 34
 			try {
35 35
 				// User input
36 36
 				$username = str_replace('@upr.edu', '', Input::get('email'));

+ 2
- 2
app/controllers/OutcomesController.php Wyświetl plik

@@ -74,10 +74,10 @@ class OutcomesController extends \BaseController
74 74
 
75 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 82
     //         DB::disableQueryLog();
83 83
     //         $outcome = Outcome::find($id);

+ 1
- 1
app/routes.php Wyświetl plik

@@ -585,7 +585,7 @@ Route::group(array('before' => 'auth|has_access'), function () {
585 585
         Route::post('annual-plans/store', array('before' => 'csrf', 'uses' => 'AnnualPlansController@store'));
586 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 589
         // TODO: Change route name
590 590
         Route::get('learning-outcomes/newshow/{id}', 'OutcomesController@newShow');
591 591
         Route::get('new-report/{id}', 'OutcomesController@newReport');