Sha256: 72e96ba7f8454345637b7813b449129d11e44172f9898520c302c1f1cd167476

Contents?: true

Size: 162 Bytes

Versions: 54

Compression:

Stored size: 162 Bytes

Contents

class Tt::Api::V1::ApplicationController < ActionController::Base
  before_action :return_json

  private

  def return_json
    request.format = :json
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
test_track_rails_client-4.0.0.alpha26 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha25 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha24 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha23 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha22 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha21 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha20 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha19 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha18 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha17 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha16 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha15 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha14 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha13 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha12 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha11 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha10 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha9 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha8 app/controllers/tt/api/v1/application_controller.rb
test_track_rails_client-4.0.0.alpha7 app/controllers/tt/api/v1/application_controller.rb