FogBugz #132: Redirect user to /contacts when she is already signed in.

This commit is contained in:
Roland Jesse 2012-06-23 23:12:39 +02:00
parent 3bf2941096
commit 67456bb979

View file

@ -1,3 +1,9 @@
# -*- coding: utf-8; -*-
class WelcomeController < ApplicationController
def index
# Ask Devise whether or not the user is already signed in.
if user_signed_in? then
redirect_to contacts_path
end
end
end