Sha256: 6c6a1ad3954791e021fb347b178c550b0c02ba82f79466fa19b353dfdf81bdf5

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

module BloomRemit
  class ApplicationController < ActionController::Base

    include Trailblazer::Operation::Controller

    rescue_from ActiveRecord::RecordNotFound, with: :record_not_found

    def record_not_found
      render nothing: true, status: 404
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bloom_remit-0.2.0 app/controllers/bloom_remit/application_controller.rb
bloom_remit-0.1.0 app/controllers/bloom_remit/application_controller.rb
bloom_remit-0.0.1 app/controllers/bloom_remit/application_controller.rb