From a07bba6839dd91b95c17fec4dfa305ba94a88df9 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 7 May 2008 18:37:08 +0000 Subject: [PATCH] permenant redirect for index git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@158 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7 --- app/controllers/sessions_controller.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 73c50d7..795098f 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -1,4 +1,8 @@ class SessionsController < ApplicationController + def index + redirect_to '/', :status => :moved_permenantly + end + def new @content_title = 'Log In' @secondary_title = ''