Before action not firing when pasting in same URL with different params

55 views Asked by At

I'm having a before_action :slice in my application_controller which slices some params and appends them to an object.

So let's say I visit https://myhomepage.com?param1=1&param2=2 it will slice these params and appends them to an array. When I'm staying on the page and I paste https://myhomepage.com?param1=1&param2=2 again it will not run the before action for whatever reason. Only if I press the reload button it will trigger the before action again with the new parameters.

Am I missing something here?

0

There are 0 answers