简体   繁体   中英

Ruby on Rails routing problem

The company that hosts my website did an upgrade on the weekend and now all my ROR apps are coming up with this :

Routing Error

No route matches "/geotest/" with {:method=>:get}

These were working before and do work on my development system, but there has been no response to my ticket to their tech support. Anyone got a suggestion how I could fix this?

Maybe they upgraded to Rails 3 ? Your route should work anyway, but try to add this to your routes.rb file :

get '/geotest' => 'your_controller_name#index'

Change your_controller_name accordingly, of course.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM