diaspora/app/controllers/home_controller.rb
Raphael cfd6639f4d Revert "Merge branch 'open-aspects'"
This reverts commit 181bd823c4, reversing
changes made to 2c3ed2ab73.
2011-02-01 13:15:20 -08:00

17 lines
400 B
Ruby

# Copyright (c) 2010, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
class HomeController < ApplicationController
def show
if current_user
redirect_to aspects_path
elsif is_mobile_device?
redirect_to user_session_path
else
@landing_page = true
render :show
end
end
end