Skip to content
Browse files

readme:fix Request.redirect -> Response.redirect

  • Loading branch information...
1 parent 0877e6f commit c1f266ed20cd0ebe6516d2ce3d278795aac4aa66 @Shogun147 committed Jul 26, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 readme.ja.md
  2. +2 −2 readme.md
View
2 readme.ja.md
@@ -292,7 +292,7 @@ Class('Home_Controller', {
// ユーザがログインしていない場合、次のログインページにリダイレクト
if (!User.logged_in()) {
- return Request.redirect('/login');
+ return Response.redirect('/login');
}
// 他に、元のメソッドを呼び出す
View
4 readme.md
@@ -310,7 +310,7 @@ Class('Home_Controller', {
// if the user is not logged in then redirect to login page
if (!User.logged_in()) {
- return Request.redirect('/login');
+ return Response.redirect('/login');
}
// else we call original method
@@ -342,7 +342,7 @@ Class('Home_Controller', {
// if the user is not logged in then redirect to login page
if (!User.logged_in()) {
- return Request.redirect('/login');
+ return Response.redirect('/login');
}
// else we call original method

0 comments on commit c1f266e

Please sign in to comment.
Something went wrong with that request. Please try again.