Since both site.rhtml and site.rxml exists we have to add :format =>
'rhtml' to the root controller so that the index isn't broken. RSS feeds also work without XHTML being added to them now.
This commit is contained in:
parent
3578506797
commit
ea93ad2f07
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ ActionController::Routing::Routes.draw do |map|
|
|||
map.connect '/browse/changesets/rss', :controller => 'changeset', :action => 'list', :format => 'rxml'
|
||||
|
||||
# web site
|
||||
map.root :controller => 'site', :action => 'index'
|
||||
map.root :controller => 'site', :action => 'index', :format => 'rhtml'
|
||||
map.connect '/', :controller => 'site', :action => 'index'
|
||||
map.connect '/edit', :controller => 'site', :action => 'edit'
|
||||
map.connect '/history', :controller => 'changeset', :action => 'list', :format => 'rhtml'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue