问题内容: I want to catch 2 similar route in one action block. In Rails5 I can do that easily. I first declare this: get ':folder/:file' => 'get#index', :file => /.*/, :folder => /.*/ get ':file' => 'get#index', :file => /.*/ This allows m […]