I’m trying to create a search action for one of my controllers that
can take in different params. Something I can use like an api call:
Any idea how I can start this? I’d like to have a clean “search”
action but this is also copying the index action. I’m thinking that
the action needs to serialize the params and apply them to a find but
I’m not sure if this is the best way.