Skip to content

Conversation

@brunoribeiro94
Copy link

I did a simple example passing a parameter to identify the pagination ID.

I use :
mysite.com/product/2 (It'sn works, printed 1)

but just works if I using /index/

mysite.com/product/index/2 (It's works, printed 2)

My ProductController.php is

https://pastebin.com/aYVEqvjK

With this pull request solved the problem.

I did a simple example passing a parameter to identify the pagination ID.

I use : 
mysite.com/product/2   (It'sn works, printed 1)

but just works if I using /index/ 

mysite.com/product/index/2 (It's works, printed 2)

My ProductController.php is

https://pastebin.com/aYVEqvjK

With this pull request solved the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants