I have a controller called ‘workout’. The only two significant lines in
my routes.rb file are these:
map.connect ‘:controller/service.wsdl’, :action => ‘wsdl’
map.connect ‘’, :controller => ‘workout’
Now, when I go to my site, www.domain.com/project/public/, I get the
output for the index function (which is correct).
But when I go to www.domain.com/project/public/view I receive the
Recognition failed for “/view”
Why can’t it find the view controlling function? I have utilized the
view controller function when I was utilizing my project locally under
WebBrick ( e.g. http://127.0.0.1:3000/workout/view ) The view function
still exists, but obviously I am missing something in my routing.
Any insight would be greatly appreciated.