Sha256: 4d4c406c142aa1db5250379bc579039523eb3dfe7fa45bdf15afbfc7ee2153d7

Contents?: true

Size: 221 Bytes

Versions: 1

Compression:

Stored size: 221 Bytes

Contents

module KnockRails3
  class ApplicationController < ActionController::Base
    rescue_from KnockRails3.not_found_exception_class_name, with: :not_found

  private

    def not_found
      head :not_found
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
KnockRails3-2.1.1 app/controllers/knock_rails3/application_controller.rb