panique / huge

Simple user-authentication solution, embedded into a small framework.
2.14k stars 788 forks source link

Fix passing parameter on index View #863

Open brunoribeiro94 opened 7 years ago

brunoribeiro94 commented 7 years ago

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.