Updated some controllers to inherit from EmptyController

• Updated:
- some controllers to inherit from EmptyController
This commit is contained in:
mgabdev
2020-11-09 12:08:31 -06:00
parent 7027cd0bf4
commit 297fac5d21
6 changed files with 14 additions and 31 deletions

View File

@@ -1,10 +1,6 @@
# frozen_string_literal: true
class Api::V1::GabTrendsController < Api::BaseController
respond_to :json
skip_before_action :set_cache_headers
class Api::V1::GabTrendsController < EmptyController
def index
if Rails.env != 'development'
render json: nil