Bug #1271
Typo config/routes.rb may be wrong...
| Status : | Closed | Start : | 09/26/2008 | |
| Priority : | Normal | Due date : | ||
| Assigned to : | - | % Done : | 0% |
|
| Category : | - | |||
| Target version : | - | Estimated time : | 1.00 hour | |
| Resolution : | fixed |
Description
I think Typo's config/routes.rb is something wrong.
For example,
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<channel>
<title>okkez weblog : </title>
<link>http://typo.example.com/.rss</link> <!-- wrong line. -->
<language>en-us</language>
<ttl>40</ttl>
...
I tried to correct this problem.Add this line in config/routes.rb .
map.resources :articles
I cannot test enough about this.
I think that we need to check all named routes and rewrite.
regards.
