|
|
@ -215,7 +215,7 @@ class ApplicationController < ActionController::Base
|
|
|
|
return if params[:controller] == "main"
|
|
|
|
return if params[:controller] == "main"
|
|
|
|
# Find the current user
|
|
|
|
# Find the current user
|
|
|
|
User.current = find_current_user
|
|
|
|
User.current = find_current_user
|
|
|
|
uid_logger("user_step: " + (User.current.logged? ? "#{User.current.try(:login)} (id=#{User.current.try(:id)})" : "anonymous"))
|
|
|
|
uid_logger("user_setup: " + (User.current.logged? ? "#{User.current.try(:login)} (id=#{User.current.try(:id)})" : "anonymous"))
|
|
|
|
|
|
|
|
|
|
|
|
if !User.current.logged? && Rails.env.development?
|
|
|
|
if !User.current.logged? && Rails.env.development?
|
|
|
|
User.current = User.find 12
|
|
|
|
User.current = User.find 12
|
|
|
|