From ffd25690cf9013cc86935b3d1f9bc17c3dbd4dce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20Akbudak?= Date: Wed, 3 Aug 2016 14:35:58 +0300 Subject: [PATCH] #119 fix wrong keyword --- templates/app/controllers/application_controller.rb.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/app/controllers/application_controller.rb.erb b/templates/app/controllers/application_controller.rb.erb index 3c48a29..5339bb1 100644 --- a/templates/app/controllers/application_controller.rb.erb +++ b/templates/app/controllers/application_controller.rb.erb @@ -27,7 +27,7 @@ class ApplicationController < ActionController::Base protected def set_user_time_zone - Time.zone = current_user.time_zone if student_signed_in? && current_student.time_zone.present? + Time.zone = current_user.time_zone if user_signed_in? && current_user.time_zone.present? end def devise_parameter_sanitizer