Skip to content

Commit

Permalink
#119 fix wrong keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
İsmail Akbudak committed Aug 3, 2016
1 parent 159d406 commit ffd2569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/app/controllers/application_controller.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ffd2569

Please sign in to comment.