Skip to content

Commit

Permalink
404 wrraper
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Tatis authored and Mario Tatis committed Oct 17, 2010
1 parent a367063 commit 9b33af1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/controllers/home_controller.rb
Expand Up @@ -15,4 +15,8 @@ def privacy
def terms
render :layout => "login"
end

def about
render :layout => "login"
end
end
2 changes: 2 additions & 0 deletions config/routes.rb
Expand Up @@ -45,6 +45,8 @@
# Other Routes
map.privacy '/privacy', :controller => 'home', :action => 'privacy'
map.terms '/terms', :controller => 'home', :action => 'terms'
map.about '/about', :controller => 'home', :action => ' map.terms '/terms', :controller => 'home', :action => 'terms'
'

# User Routes
map.user_profile '/users/:id/profile', :controller => 'users', :action => 'profile'
Expand Down
2 changes: 1 addition & 1 deletion public/500.html
Expand Up @@ -21,7 +21,7 @@
</head>
<body class="home">

<div class="wrapper">
<div id="wrapper">
<div id="menu">
<ul id="top_menu">
<li><a href="#">Top Musts</a></li>
Expand Down

0 comments on commit 9b33af1

Please sign in to comment.