SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Routes

Hybrid View

  1. #1
    SitePoint Enthusiast Stevenwulf's Avatar
    Join Date
    May 2002
    Location
    Berkeley
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Routes

    I'm trying to get the following route to work

    map.connect ' ', :controller => 'user/software', :action => 'list'

    'user' is a module.

    So if the url is: www.mysite.com

    the above map.connect should be used. However, what is happening is that the default ROR Welcome page is always called. Any ideas?

    -Steven

  2. #2
    SitePoint Guru silver trophy Luke Redpath's Avatar
    Join Date
    Mar 2003
    Location
    London
    Posts
    794
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to delete the index.html file first.

  3. #3
    SitePoint Enthusiast Stevenwulf's Avatar
    Join Date
    May 2002
    Location
    Berkeley
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bingo!

    Thanks Luke.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •