瀏覽代碼

resolver ruta show de los dominios

父節點
當前提交
430a85c1f7
共有 4 個文件被更改,包括 8 次插入7 次删除
  1. 2
    1
      app/config/app.php
  2. 3
    3
      app/controllers/AuthController.php
  3. 2
    2
      app/controllers/OutcomesController.php
  4. 1
    1
      app/routes.php

+ 2
- 1
app/config/app.php 查看文件

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 查看文件

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 查看文件

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 查看文件

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');