app/controllers/casein/users_controller.rb in casein-3.1.10 vs app/controllers/casein/users_controller.rb in casein-3.1.11
- old
+ new
@@ -12,10 +12,10 @@
end
def new
@casein_page_title = "Add a new user"
@casein_user = Casein::User.new
- @casein_user.time_zone = Rails::Application.config.time_zone
+ @casein_user.time_zone = Rails.configuration.time_zone
end
def create
@casein_user = Casein::User.new params[:casein_user]
\ No newline at end of file