routingが難しかったので、オベンキョ。 Rails 3のroutesまとめ namespace, scopeを用いると、パラメータのなしでURLに階層を作ることがデキる。 http://**.com/namespace/method http://**.com/scope/method #config/routes.rb namespace :class_name do get 'request_name' => 'class_name#method' end scope '/name' do get 'request_name' => 'class_name#method' end