Redirect_to_url Deperecated
Silently dropped, more precisely, from Rails 2.2. Just use redirect_to instead.
This commit is contained in:
parent
daa12e575d
commit
3efc067f06
|
@ -96,7 +96,7 @@ class ApplicationController < ActionController::Base
|
|||
if web
|
||||
redirect_to_page('HomePage', web)
|
||||
else
|
||||
redirect_to_url '/'
|
||||
redirect_to '/'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -144,7 +144,7 @@ class ApplicationController < ActionController::Base
|
|||
else
|
||||
logger.debug("Session ##{session.object_id}: " +
|
||||
"redirect to the last remembered URL #{redirect_target}")
|
||||
redirect_to_url(redirect_target)
|
||||
redirect_to(redirect_target)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue