diff options
author | francis <francis> | 2007-10-08 15:02:01 +0000 |
---|---|---|
committer | francis <francis> | 2007-10-08 15:02:01 +0000 |
commit | ff1c41518371e613816cf001b46a8b0a98a5e044 (patch) | |
tree | 55c30066cc4f92ebe9ccb4ee5d0f949f5612c3c6 | |
parent | 1a642c05e0c65316f161e63d8413f204a59b9c60 (diff) |
Name frontpage controller index, probably more consistent with URLs.
-rw-r--r-- | app/controllers/index_controller.rb (renamed from app/controllers/frontpage_controller.rb) | 6 | ||||
-rw-r--r-- | app/views/index/index.rhtml (renamed from app/views/frontpage/index.rhtml) | 0 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/frontpage_controller.rb b/app/controllers/index_controller.rb index 36d31d2f5..b9af922a0 100644 --- a/app/controllers/frontpage_controller.rb +++ b/app/controllers/index_controller.rb @@ -1,12 +1,12 @@ -# controllers/frontpage_controller.rb: +# controllers/index_controller.rb: # Main page of site. # # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: frontpage_controller.rb,v 1.4 2007-08-04 11:10:25 francis Exp $ +# $Id: index_controller.rb,v 1.1 2007-10-08 15:02:01 francis Exp $ -class FrontpageController < ApplicationController +class IndexController < ApplicationController def index respond_to do |format| format.html diff --git a/app/views/frontpage/index.rhtml b/app/views/index/index.rhtml index 8b5611d41..8b5611d41 100644 --- a/app/views/frontpage/index.rhtml +++ b/app/views/index/index.rhtml |