app/controllers/timepiece_controller.rb in timepiece-0.2.12 vs app/controllers/timepiece_controller.rb in timepiece-0.3.0
- old
+ new
@@ -1,5 +1,7 @@
-class TimepieceController < ApplicationController
+class TimepieceController < ActionController::Base
+
+ protect_from_forgery with: :null_session
def clock
arr = Array.new
params[:timezones].each_with_index do | data, index |
zone = Time.now.in_time_zone(data)