Upgrade to rails 3.2.14.

This commit is contained in:
Martin Edenhofer 2013-08-03 21:17:20 +02:00
parent 41c38e1bc2
commit 449158b943
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
source 'http://rubygems.org'
gem 'rails', '3.2.13'
gem 'rails', '3.2.14'
# preparation for rails 4
#gem 'rails', '4.0.0.rc1'

View file

@ -61,7 +61,7 @@ class ApplicationController < ActionController::Base
def current_user
return @_current_user if @_current_user
return if !session[:user_id]
@_current_user = User.find_by_id( session[:user_id] )
@_current_user = User.find( session[:user_id] )
end
def current_user_set(user)
@_current_user = user