Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望解决以下路线:
splunk/ocd/:some_number splunk/ord/:some_number
我希望这些由ocd. 创建这些路线的最简单方法是什么?ordSplunkController
ocd
ord
SplunkController
这应该这样做,因为它不跟随 crud。
get 'splunk/ocd/:some_number' => "splunk#ocd", as: 'splunk_ocd' get 'splunk/ord/:some_number' => "splunk#ord", as: 'splunk_ord'