我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

redirect()在自定义Laravel 5包中不起作用

Been facing an issue all week and I know it's probably simple but can't seem to figure it out :(

whenever I use in my custom package

return redirect('redirectToRoute');

all I get is a white screen if I use

dd(redirect('redirectToRoute'));

I can see the status is a 302 works perfectly fine outside of my package within the app folder but not inside my custom package what am I doing wrong?

近期文章

  • Gmail未在使用php发送的电子邮件中显示图片
  • 从多个选择框中获取多个数据
  • 提交后保持下拉选择值
  • PHP - mysql while循环中的动态if语句
  • 从具有多个值的数据库中获取一个值
  • 如何轻松包括除了所有路径的PHP的东西?
  • 使用php将文件从路径传输到ftp中的路径
  • 使用jquery动态获取property_id
  • 带有圆括号的正则表达式
  • 验证登录/更改用户设置/ Php Mysql
  • 查找嵌套PHP数组中的所有排列
  • PHP使用simplexml_load_string加载XML文档
  • 在特定日期和年份的第一个星期六
  • 如何在php中实现请求和响应
  • 表单提交后PHP重定向到不同的页面
  • 我如何在函数中访问连接变量[重复]
  • Laravel在使用Form :: open()时添加多个类
  • 有没有办法自动更改PHP文件?
  • guzzle`http_errors`将错误从500更改为404
  • 在Flash Builder中动态填充文本字段

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华