Closed sauerbraten closed 5 years ago
Any way to link to the edit view for assets would be fine, actually.
We never planned for direct url access to assets, so labeling this an enhancement and not a bug :) We'll still build it for you though, no worries.
Oh, okay, great!
Just FYI, you would need to use the assets.browse.edit
route, ie)
cp_route('assets.browse.edit', 'container/folder/image/path.jpg')
Which outputs:
/cp/assets/browse/container/folder/image/path.jpg/edit
@sauerbraten, You mentioned on call that there's still an issue here? I apologize, I didn't fully understand what you were getting at.
Oh I forgot there was this issue. I opened a new one where I described the behavior I see: https://github.com/statamic/three-cms/issues/649
I believe this is resolved. Reopen if not!
redirecting to
cp_route('assets.edit', $someID)
doesn't work because there is no controller handling/cp/assets/YzE5YzhiOTEtYjU5Ny00ODQzLWFlZjctZDQ4YjdmODA0ODQ1/edit
yet.