diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/initializers/xmlparser.rb | 8 | ||||
| -rw-r--r-- | config/routes.rb | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/config/initializers/xmlparser.rb b/config/initializers/xmlparser.rb index ba8660a..9c3f1c8 100644 --- a/config/initializers/xmlparser.rb +++ b/config/initializers/xmlparser.rb | |||
| @@ -3,4 +3,12 @@ class XML::Node | |||
| 3 | self.next = other | 3 | self.next = other |
| 4 | remove! | 4 | remove! |
| 5 | end | 5 | end |
| 6 | end | ||
| 7 | |||
| 8 | module Builder | ||
| 9 | class XmlBase | ||
| 10 | def _escape(text) | ||
| 11 | text | ||
| 12 | end | ||
| 13 | end | ||
| 6 | end \ No newline at end of file | 14 | end \ No newline at end of file |
diff --git a/config/routes.rb b/config/routes.rb index 1706dad..d591619 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
| @@ -23,6 +23,9 @@ ActionController::Routing::Routes.draw do |map| | |||
| 23 | map.resources :menu_items, :member => {:sort => :post} | 23 | map.resources :menu_items, :member => {:sort => :post} |
| 24 | map.resource :session | 24 | map.resource :session |
| 25 | 25 | ||
| 26 | map.rss 'rss/:action', :controller => 'rss' | ||
| 27 | map.rss 'rss/:action.:format', :controller => 'rss' | ||
| 28 | |||
| 26 | map.connect ':controller/:action/:id' | 29 | map.connect ':controller/:action/:id' |
| 27 | map.connect ':controller/:action/:id.:format' | 30 | map.connect ':controller/:action/:id.:format' |
| 28 | 31 | ||
