pretty-routes icon indicating copy to clipboard operation
pretty-routes copied to clipboard

Additional Column to list View that is being returned from controller

Open izshreyansh opened this issue 4 years ago • 4 comments

I am thinking of sending a PR which will add 1+ columns which will spit out view name that is being returned from the controller action.

Could that be useful?

izshreyansh avatar Sep 08 '19 09:09 izshreyansh

Very useful, and if the you can add the app domains will helt too

BaraoVlask avatar Nov 22 '19 12:11 BaraoVlask

Very useful, and if the you can add the app domains will helt too

Domains column is displayed if they are specified in the routes.

https://github.com/garygreen/pretty-routes/blob/master/views/routes.blade.php#L45

image

image

https://github.com/garygreen/pretty-routes/pull/10#issuecomment-343141643

andrey-helldar avatar Oct 02 '20 11:10 andrey-helldar

The problem with defining a "view" is that the controller can return not only a view file, but also a response or Resource.

andrey-helldar avatar Oct 03 '20 12:10 andrey-helldar

In any case, Gary is busy with his main work and this project has not received updates for a long time. I have released my standalone version of the package with all the changes proposed in this project over the past three years. See: https://github.com/andrey-helldar/pretty-routes

andrey-helldar avatar Oct 03 '20 12:10 andrey-helldar