[dw-free] Delete changes that crept in by mistake.
[commit: http://hg.dwscoalition.org/dw-free/rev/c03a927d8c0b]
Delete changes that crept in by mistake.
Patch by
fu.
Files modified:
Delete changes that crept in by mistake.
Patch by
Files modified:
- cgi-bin/DW/Controller/Entry.pm
--------------------------------------------------------------------------------
diff -r f7495c8d423b -r c03a927d8c0b cgi-bin/DW/Controller/Entry.pm
--- a/cgi-bin/DW/Controller/Entry.pm Mon Dec 05 20:26:14 2011 +0800
+++ b/cgi-bin/DW/Controller/Entry.pm Mon Dec 05 21:03:52 2011 +0800
@@ -52,7 +52,7 @@
# redirect to app-space
sub _user_to_app_role {
my ( $path ) = @_;
- return DW::Request->get->redirect( LJ::create_url( $path, host => $LJ::SITEROOT ) );
+ return DW::Request->get->redirect( "$LJ::SITEROOT$path" );
}
sub _new_handler_userspace { return _user_to_app_role( "/entry/$_[0]->{username}/new" ) }
--------------------------------------------------------------------------------
