「mongoid_search」を使用して、アプリのインデックス ページで検索を強化しています。
結果を返す URL は次のようになります: "/profiles?utf8=✓&profile_search=San+Antonio%2C+TX"
/location/sanantonio-tx で検索 URL と同じ結果を返すにはどうすればよいですか?
基本的に、"location" の後のものはすべて "profile_search" クエリ文字列に変換する必要があります。
また、URLはそのままでいいですか?(例: '/location'san-antonio-tx" url はクエリ文字列に変更されません)