Automatically append parameters to *_url or *_path methods (Rails)
问题 I have a particular set of views relating to one of my controllers, whereby I want any call to *_path or *_url to append a set of parameters. Is there some magic method I can override that will let me do this? I have no idea where in the Rails code the *_path or *_url methods are even handled. Edit for clarity: I'm looking for a way to do this such that I don't have to modify every link in every view where this needs to occur. I don't want every coder who touches this set of views to have to