Fixed server error with access via http basic auth.

This commit is contained in:
Martin Edenhofer 2012-04-20 09:22:51 +02:00
parent 335751f133
commit 8ef89f0635

View file

@ -146,7 +146,7 @@ class ApplicationController < ActionController::Base
:o_id => object.id,
:history_type_id => history_type.id,
:history_object_id => history_object.id,
:created_by_id => session[:user_id]
:created_by_id => current_user.id
)
end