Skip to content

Listing all URLs? #141

Answered by ash-jc-allen
shahzaib asked this question in Q&A
Aug 31, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey!

The ShortURL class is a normal Laravel model, so you could get all of your Short URLs by using something like:

ShortURL::all();

Hopefully this helps a bit? 🙂

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shahzaib
Comment options

Answer selected by ash-jc-allen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants