@@ -82,7 +82,7 class ApplicationController < ActionController::Base | |||
|
82 | 82 | |
|
83 | 83 | def require_login |
|
84 | 84 | if !User.current.logged? |
|
85 |
redirect_to :controller => "account", :action => "login", :back_url => ( |
|
|
85 | redirect_to :controller => "account", :action => "login", :back_url => url_for(params) | |
|
86 | 86 | return false |
|
87 | 87 | end |
|
88 | 88 | true |
General Comments 0
You need to be logged in to leave comments.
Login now