From d063f1ab243ac84b157117fb4bd536b88e8d4812 Mon Sep 17 00:00:00 2001 From: Hakan Ensari Date: Mon, 9 May 2016 12:01:51 +0100 Subject: [PATCH] Remove obsolete line --- lib/api.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/api.rb b/lib/api.rb index 6ebde61..081c9a9 100644 --- a/lib/api.rb +++ b/lib/api.rb @@ -38,10 +38,6 @@ helpers do end end - def enable_cross_origin - headers settings.cors_response_headers - end - def encode_json(data) Oj.dump(data, mode: :compat) end