Forum: Ruby on Rails Routing Issues on Shared Host

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
66c680f88e8c379fe408d32299dfb4e6?d=identicon&s=25 Jim Jones (Guest)
on 2005-12-12 09:52
(Received via mailing list)
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
following,

  Routing Error
  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.
This topic is locked and can not be replied to.