Skip to content

How to Call Helper in foreach? #1

Closed Answered by creecros
aljawaid asked this question in Q&A
Discussion options

You must be logged in to vote

your helper isn't returning anything.
so instead of
$routes = array(

use

return array(

Replies: 2 comments 5 replies

Comment options

aljawaid
Feb 26, 2023
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@aljawaid
Comment options

aljawaid Feb 26, 2023
Maintainer Author

@creecros
Comment options

@aljawaid
Comment options

aljawaid Feb 26, 2023
Maintainer Author

@creecros
Comment options

@aljawaid
Comment options

aljawaid Feb 26, 2023
Maintainer Author

Answer selected by aljawaid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed question Further information is requested
2 participants