Commit 453000b3 authored by jplang's avatar jplang
Browse files

Don't generate URL from params.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent f3ea2fe3
......@@ -213,7 +213,7 @@ class ApplicationController < ActionController::Base
if !User.current.logged?
# Extract only the basic url parameters on non-GET requests
if request.get?
url = url_for(params)
url = request.original_url
url = url_for(:controller => params[:controller], :action => params[:action], :id => params[:id], :project_id => params[:project_id])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment