added config option for display_errors. fixed response::error to use dot syntax.

This commit is contained in:
Taylor Otwell
2012-01-31 13:29:38 -06:00
parent 659fd50a65
commit 62856a15ce
3 changed files with 19 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ class Response {
*/
public static function error($code, $data = array())
{
return new static(View::make('error/'.$code, $data), $code);
return new static(View::make('error.'.$code, $data), $code);
}
/**