sogo/UI/MainUI/SOGoUserHomePage.m
Wolfgang Sourdeau 39c23d6bec Monotone-Parent: 0a6c3c0f6c27c1e6de388cc4e18f577038a7c7e8
Monotone-Revision: 9872e5c9f4b4743d4200582f8f35e0d7b2d28614

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-03-22T17:38:32
Monotone-Branch: ca.inverse.sogo
2007-03-22 17:38:32 +00:00

43 lines
1.2 KiB
Objective-C

/* SOGoUserHomePage.m - this file is part of SOGo
*
* Copyright (C) 2007 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <NGObjWeb/WORequest.h>
#import <SOGoUI/UIxComponent.h>
@interface SOGoUserHomePage : UIxComponent
@end
@implementation SOGoUserHomePage
- (id <WOActionResults>) defaultAction
{
NSString *baseURL, *url;
baseURL = [[context request] uri];
url = [baseURL stringByAppendingString:@"/../Calendar"];
return [self redirectToLocation: url];
}
@end