@@ -82,7 +82,7 class ApplicationController < ActionController::Base | |||||
82 |
|
82 | |||
83 | def require_login |
|
83 | def require_login | |
84 | if !User.current.logged? |
|
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 | return false |
|
86 | return false | |
87 | end |
|
87 | end | |
88 | true |
|
88 | true |
General Comments 0
You need to be logged in to leave comments.
Login now