diff options
| author | hukl <contact@smyck.org> | 2009-02-22 13:23:38 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-02-22 13:23:38 +0100 |
| commit | 51e91975cbfb81de40f2b8dd0ddada84b0c93ae6 (patch) | |
| tree | 9c88fbcc1408814a4470590c4adc15feba487227 /config | |
| parent | c39eb1e9839664deb68b50b2a9db16770d42852c (diff) | |
created route for home page, removed rails index.html
Diffstat (limited to 'config')
| -rw-r--r-- | config/routes.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index ff9a13b..2fd3705 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
| @@ -1,4 +1,11 @@ | |||
| 1 | ActionController::Routing::Routes.draw do |map| | 1 | ActionController::Routing::Routes.draw do |map| |
| 2 | map.root( | ||
| 3 | :locale => 'de', | ||
| 4 | :controller => 'content', | ||
| 5 | :action => 'render_page', | ||
| 6 | :page_path => ['home'] | ||
| 7 | ) | ||
| 8 | |||
| 2 | map.filter :locale | 9 | map.filter :locale |
| 3 | 10 | ||
| 4 | map.resources :pages | 11 | map.resources :pages |
