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 /app/controllers/index_controller.rb | |
parent | 1a642c05e0c65316f161e63d8413f204a59b9c60 (diff) |
Name frontpage controller index, probably more consistent with URLs.
Diffstat (limited to 'app/controllers/index_controller.rb')
-rw-r--r-- | app/controllers/index_controller.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/controllers/index_controller.rb b/app/controllers/index_controller.rb new file mode 100644 index 000000000..b9af922a0 --- /dev/null +++ b/app/controllers/index_controller.rb @@ -0,0 +1,18 @@ +# 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: index_controller.rb,v 1.1 2007-10-08 15:02:01 francis Exp $ + +class IndexController < ApplicationController + def index + respond_to do |format| + format.html + end + end + + #before_filter :check_authentication, :except => [:signin] +end + |