【发布时间】:2018-12-27 12:03:32
【问题描述】:
我正在尝试在 Laravel 中复制个人资料页面。一切正常,但是当我单击“保存”以保存配置文件中的更改时,它显示的就像我一样
/**
* Throw a method not allowed HTTP exception.
*
* @param array $others
* @return void
*
* @throws \Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException
*/
protected function methodNotAllowed(array $others)
{
throw new MethodNotAllowedHttpException($others);
}
/**
* Get routes from the collection by method.
*
* @param string|null $method
* @return array
*/
public function get($method = null)
{
return is_null($method) ? $this->getRoutes() : Arr::get($this->routes, $method, []);
}
/**
* Determine if the route collection contains a given named route.
没有参数。还有这个按摩 Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException 没有消息。
由于某些原因我无法从我的文件中导入代码,没有代码的人可以帮忙吗?
【问题讨论】:
-
when i click 'Save' to save changes in profile it show's me like... 告诉你什么?您包含的代码不是错误消息。 准确地向我们展示您点击保存时看到的内容。