How to handle Rails params that may or may not exist, in controller action?

后端 未结 0 1956
遇见更好的自我
遇见更好的自我 2020-12-01 02:40

What is best practise for making a controller action that sometimes has key/values in params and sometimes doesn\'t?

I\'m using a single endpoint for 2 s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题